#define YY_parse_h_included
/*#define YY_USE_CLASS 
*/
/*  A Bison++ parser, made from yacc.yy  */

 /* with Bison++ version bison++ Version 1.21.9-1, adapted from GNU bison by coetmeur@icdc.fr
Maintained by Magnus Ekdahl <magnus@debian.org>
  */


#line 1 "/usr/share/bison++/bison.cc"
/* -*-C-*-  Note some compilers choke on comments on `#line' lines.  */
/* Skeleton output parser for bison,
   Copyright (C) 1984, 1989, 1990 Bob Corbett and Richard Stallman

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 1, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  

   As a special exception, when this file is copied by Bison++ into a
   Bison++ output file, you may use that output file without restriction.
   This special exception was added by the Free Software Foundation
   in version 1.24 of Bison, and has been in Bison++ since 1.21.9.  

*/

/* HEADER SECTION */
#if defined( _MSDOS ) || defined(MSDOS) || defined(__MSDOS__) 
 #define __MSDOS_AND_ALIKE
#endif

#if defined(_WINDOWS) && defined(_MSC_VER)
 #define __HAVE_NO_ALLOCA
 #define __MSDOS_AND_ALIKE
#endif

#ifndef alloca
 #if defined( __GNUC__)
  #define alloca __builtin_alloca

 #elif (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc)  || defined (__sgi)
  #include <alloca.h>

 #elif defined (__MSDOS_AND_ALIKE)
  #include <malloc.h>
  #ifndef __TURBOC__
   /* MS C runtime lib */
   #define alloca _alloca
  #endif

 #elif defined(_AIX)
  /* pragma must be put before any C/C++ instruction !! */
  #pragma alloca
  #include <malloc.h>

 #elif defined(__hpux)
  #ifdef __cplusplus
   extern "C" {
     void *alloca (unsigned int);
   };
  #else /* not __cplusplus */
   void *alloca ();
  #endif /* not __cplusplus */

 #endif /* not _AIX  not MSDOS, or __TURBOC__ or _AIX, not sparc.  */
#endif /* alloca not defined.  */

#ifdef c_plusplus
 #ifndef __cplusplus
  #define __cplusplus
 #endif
#endif

#ifdef __cplusplus
 #ifndef YY_USE_CLASS
/*#warning "For C++ its recomended to use bison++, otherwise classes won't be generated"*/
 #endif
#else
 #ifndef __STDC__
  #define const
 #endif
 #ifdef YY_USE_CLASS
  #error "This is a C++ header generated by bison++, please use a C++ compiler!"
 #endif
#endif

#include <stdio.h>
#define YYBISON 1  

 #line 88 "/usr/share/bison++/bison.cc"
#line 2 "yacc.yy"

/*****************************************************************
Copyright (c) 1999 Torben Weis <weis@kde.org>
Copyright (c) 2000 Matthias Ettrich <ettrich@kde.org>
Copyright (c) 2007 Ewald Arnold <mockpp@ewald-arnold.de>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

******************************************************************/

//#include <config.h>

// Workaround for a bison issue:
// bison.simple concludes from _GNU_SOURCE that stpcpy is available,
// while GNU string.h only exposes it if __USE_GNU is set.
#ifdef _GNU_SOURCE
#define __USE_GNU 1
#endif

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>

#include "mstring.h"

#define AMP_ENTITY "&amp;"
#define YYERROR_VERBOSE

extern int yylex();

// extern MString idl_lexFile;
extern int idl_line_no;
extern int function_mode;

static int mocking_area = 0;
static int mockpp_methods_area = 0;
static int mockpp_constructor_area = 0;

static MString in_namespace( "" );

void dcopidlInitFlex( const char *_code );

void yyerror( const char *s )
{
  fprintf(stderr, "In line %i : %s\n", idl_line_no, s );
        exit(1);
  //   theParser->parse_error( idl_lexFile, s, idl_line_no );
}


#line 70 "yacc.yy"
typedef union
{
  long                 _int;
  MString             *_str;
  unsigned short       _char;
  double               _float;
} yy_parse_stype;
#define YY_parse_STYPE yy_parse_stype
#ifndef YY_USE_CLASS
#define YYSTYPE yy_parse_stype
#endif

#line 88 "/usr/share/bison++/bison.cc"
/* %{ and %header{ and %union, during decl */
#define YY_parse_BISON 1

#ifndef YY_parse_COMPATIBILITY
 #ifndef YY_USE_CLASS
  #define  YY_parse_COMPATIBILITY 1
 #else
  #define  YY_parse_COMPATIBILITY 0
 #endif
#endif

#if YY_parse_COMPATIBILITY != 0
 /* backward compatibility */
 #ifdef YYLTYPE
  #ifndef YY_parse_LTYPE
   #define YY_parse_LTYPE YYLTYPE
  #endif
 #endif
/* Testing alternative bison solution
   /#ifdef YYSTYPE*/
#ifndef YY_parse_STYPE 
   #define YY_parse_STYPE YYSTYPE
#endif
/*#endif*/
 #ifdef YYDEBUG
  #ifndef YY_parse_DEBUG
   #define  YY_parse_DEBUG YYDEBUG
  #endif
 #endif
 
 /* use goto to be compatible */
 #ifndef YY_parse_USE_GOTO
  #define YY_parse_USE_GOTO 1
 #endif
#endif

/* use no goto to be clean in C++ */
#ifndef YY_parse_USE_GOTO
 #define YY_parse_USE_GOTO 0
#endif

#ifndef YY_parse_PURE

 #line 130 "/usr/share/bison++/bison.cc"

#line 130 "/usr/share/bison++/bison.cc"
/*  YY_parse_PURE */
#endif

/* section apres lecture def, avant lecture grammaire S2 */

 #line 134 "/usr/share/bison++/bison.cc"

#line 134 "/usr/share/bison++/bison.cc"
/* prefix */
#ifndef YY_parse_DEBUG

 #line 136 "/usr/share/bison++/bison.cc"
#define YY_parse_DEBUG 1

#line 136 "/usr/share/bison++/bison.cc"
/* YY_parse_DEBUG */
#endif


#ifndef YY_parse_LSP_NEEDED

 #line 141 "/usr/share/bison++/bison.cc"

#line 141 "/usr/share/bison++/bison.cc"
 /* YY_parse_LSP_NEEDED*/
#endif



/* DEFAULT LTYPE*/
#ifdef YY_parse_LSP_NEEDED
#ifndef YY_parse_LTYPE
#ifndef BISON_YYLTYPE_ISDECLARED
#define BISON_YYLTYPE_ISDECLARED
typedef
  struct yyltype
    {
      int timestamp;
      int first_line;
      int first_column;
      int last_line;
      int last_column;
      char *text;
   }
  yyltype;

#endif
#define YY_parse_LTYPE yyltype
#endif
#endif
/* DEFAULT STYPE*/
      /* We used to use `unsigned long' as YY_parse_STYPE on MSDOS,
	 but it seems better to be consistent.
	 Most programs should declare their own type anyway.  */

#ifndef YY_parse_STYPE
#define YY_parse_STYPE int
#endif
/* DEFAULT MISCELANEOUS */
#ifndef YY_parse_PARSE
#define YY_parse_PARSE yyparse
#endif
#ifndef YY_parse_LEX
#define YY_parse_LEX yylex
#endif
#ifndef YY_parse_LVAL
#define YY_parse_LVAL yylval
#endif
#ifndef YY_parse_LLOC
#define YY_parse_LLOC yylloc
#endif
#ifndef YY_parse_CHAR
#define YY_parse_CHAR yychar
#endif
#ifndef YY_parse_NERRS
#define YY_parse_NERRS yynerrs
#endif
#ifndef YY_parse_DEBUG_FLAG
#define YY_parse_DEBUG_FLAG yydebug
#endif
#ifndef YY_parse_ERROR
#define YY_parse_ERROR yyerror
#endif

#ifndef YY_parse_PARSE_PARAM
 #ifndef YY_USE_CLASS
  #ifdef YYPARSE_PARAM
   #define YY_parse_PARSE_PARAM void* YYPARSE_PARAM 
  #else
   #ifndef __STDC__
    #ifndef __cplusplus
     #define YY_parse_PARSE_PARAM
    #endif
   #endif
  #endif
 #endif
 #ifndef YY_parse_PARSE_PARAM
  #define YY_parse_PARSE_PARAM void
 #endif
#endif

#if YY_parse_COMPATIBILITY != 0
/* backward compatibility */
#ifdef YY_parse_LTYPE
#ifndef YYLTYPE
#define YYLTYPE YY_parse_LTYPE
#else
/* WARNING obsolete !!! user defined YYLTYPE not reported into generated header */
#endif
#endif

/* Removed due to bison compabilityproblems
/#ifndef YYSTYPE
/#define YYSTYPE YY_parse_STYPE
/#else*/
/* WARNING obsolete !!! user defined YYSTYPE not reported into generated header */
/*#endif*/

#ifdef YY_parse_PURE
#  ifndef YYPURE
#    define YYPURE YY_parse_PURE
#  endif
#endif

#ifdef YY_parse_DEBUG
#  ifndef YYDEBUG
#    define YYDEBUG YY_parse_DEBUG 
#  endif
#endif

#ifndef YY_parse_ERROR_VERBOSE
 #ifdef YYERROR_VERBOSE
  #define YY_parse_ERROR_VERBOSE YYERROR_VERBOSE
 #endif
#endif

#ifndef YY_parse_LSP_NEEDED
#  ifdef YYLSP_NEEDED
#    define YY_parse_LSP_NEEDED YYLSP_NEEDED
#  endif
#endif

#endif

#ifndef YY_USE_CLASS
/* TOKEN C */

 #line 263 "/usr/share/bison++/bison.cc"
#define	T_UNIMPORTANT	258
#define	T_CHARACTER_LITERAL	259
#define	T_DOUBLE_LITERAL	260
#define	T_IDENTIFIER	261
#define	T_INTEGER_LITERAL	262
#define	T_STRING_LITERAL	263
#define	T_INCLUDE	264
#define	T_CLASS	265
#define	T_STRUCT	266
#define	T_LEFT_CURLY_BRACKET	267
#define	T_LEFT_PARANTHESIS	268
#define	T_RIGHT_CURLY_BRACKET	269
#define	T_RIGHT_PARANTHESIS	270
#define	T_COLON	271
#define	T_SEMICOLON	272
#define	T_PUBLIC	273
#define	T_PROTECTED	274
#define	T_TRIPE_DOT	275
#define	T_PRIVATE	276
#define	T_VIRTUAL	277
#define	T_CONST	278
#define	T_THROW	279
#define	T_INLINE	280
#define	T_FRIEND	281
#define	T_RETURN	282
#define	T_SIGNAL	283
#define	T_SLOT	284
#define	T_TYPEDEF	285
#define	T_PLUS	286
#define	T_MINUS	287
#define	T_COMMA	288
#define	T_ASTERISK	289
#define	T_TILDE	290
#define	T_LESS	291
#define	T_GREATER	292
#define	T_AMPERSAND	293
#define	T_EXTERN	294
#define	T_EXTERN_C	295
#define	T_ACCESS	296
#define	T_ENUM	297
#define	T_NAMESPACE	298
#define	T_USING	299
#define	T_UNKNOWN	300
#define	T_TRIPLE_DOT	301
#define	T_TRUE	302
#define	T_FALSE	303
#define	T_STATIC	304
#define	T_MUTABLE	305
#define	T_EQUAL	306
#define	T_SCOPE	307
#define	T_NULL	308
#define	T_INT	309
#define	T_ARRAY_OPEN	310
#define	T_ARRAY_CLOSE	311
#define	T_CHAR	312
#define	T_ULXRMETHODS_AREA	313
#define	T_ULXRFUNCTION	314
#define	T_ULXRCTOR_AREA	315
#define	T_MOCKMETHODS_AREA	316
#define	T_MOCKCTOR_AREA	317
#define	T_SIGNED	318
#define	T_UNSIGNED	319
#define	T_LONG	320
#define	T_SHORT	321
#define	T_FUNOPERATOR	322
#define	T_MISCOPERATOR	323
#define	T_SHIFT	324
#define	T_DCOP	325
#define	T_DCOP_AREA	326
#define	T_DCOP_SIGNAL_AREA	327
#define	T_QOBJECT	328


#line 263 "/usr/share/bison++/bison.cc"
 /* #defines tokens */
#else
/* CLASS */
#ifndef YY_parse_CLASS
#define YY_parse_CLASS parse
#endif
#ifndef YY_parse_INHERIT
#define YY_parse_INHERIT
#endif
#ifndef YY_parse_MEMBERS
#define YY_parse_MEMBERS 
#endif
#ifndef YY_parse_LEX_BODY
#define YY_parse_LEX_BODY  
#endif
#ifndef YY_parse_ERROR_BODY
#define YY_parse_ERROR_BODY  
#endif
#ifndef YY_parse_CONSTRUCTOR_PARAM
#define YY_parse_CONSTRUCTOR_PARAM
#endif
#ifndef YY_parse_CONSTRUCTOR_CODE
#define YY_parse_CONSTRUCTOR_CODE
#endif
#ifndef YY_parse_CONSTRUCTOR_INIT
#define YY_parse_CONSTRUCTOR_INIT
#endif
/* choose between enum and const */
#ifndef YY_parse_USE_CONST_TOKEN
#define YY_parse_USE_CONST_TOKEN 0
/* yes enum is more compatible with flex,  */
/* so by default we use it */ 
#endif
#if YY_parse_USE_CONST_TOKEN != 0
#ifndef YY_parse_ENUM_TOKEN
#define YY_parse_ENUM_TOKEN yy_parse_enum_token
#endif
#endif

class YY_parse_CLASS YY_parse_INHERIT
{
public: 
#if YY_parse_USE_CONST_TOKEN != 0
/* static const int token ... */

 #line 307 "/usr/share/bison++/bison.cc"
static const int T_UNIMPORTANT;
static const int T_CHARACTER_LITERAL;
static const int T_DOUBLE_LITERAL;
static const int T_IDENTIFIER;
static const int T_INTEGER_LITERAL;
static const int T_STRING_LITERAL;
static const int T_INCLUDE;
static const int T_CLASS;
static const int T_STRUCT;
static const int T_LEFT_CURLY_BRACKET;
static const int T_LEFT_PARANTHESIS;
static const int T_RIGHT_CURLY_BRACKET;
static const int T_RIGHT_PARANTHESIS;
static const int T_COLON;
static const int T_SEMICOLON;
static const int T_PUBLIC;
static const int T_PROTECTED;
static const int T_TRIPE_DOT;
static const int T_PRIVATE;
static const int T_VIRTUAL;
static const int T_CONST;
static const int T_THROW;
static const int T_INLINE;
static const int T_FRIEND;
static const int T_RETURN;
static const int T_SIGNAL;
static const int T_SLOT;
static const int T_TYPEDEF;
static const int T_PLUS;
static const int T_MINUS;
static const int T_COMMA;
static const int T_ASTERISK;
static const int T_TILDE;
static const int T_LESS;
static const int T_GREATER;
static const int T_AMPERSAND;
static const int T_EXTERN;
static const int T_EXTERN_C;
static const int T_ACCESS;
static const int T_ENUM;
static const int T_NAMESPACE;
static const int T_USING;
static const int T_UNKNOWN;
static const int T_TRIPLE_DOT;
static const int T_TRUE;
static const int T_FALSE;
static const int T_STATIC;
static const int T_MUTABLE;
static const int T_EQUAL;
static const int T_SCOPE;
static const int T_NULL;
static const int T_INT;
static const int T_ARRAY_OPEN;
static const int T_ARRAY_CLOSE;
static const int T_CHAR;
static const int T_ULXRMETHODS_AREA;
static const int T_ULXRFUNCTION;
static const int T_ULXRCTOR_AREA;
static const int T_MOCKMETHODS_AREA;
static const int T_MOCKCTOR_AREA;
static const int T_SIGNED;
static const int T_UNSIGNED;
static const int T_LONG;
static const int T_SHORT;
static const int T_FUNOPERATOR;
static const int T_MISCOPERATOR;
static const int T_SHIFT;
static const int T_DCOP;
static const int T_DCOP_AREA;
static const int T_DCOP_SIGNAL_AREA;
static const int T_QOBJECT;


#line 307 "/usr/share/bison++/bison.cc"
 /* decl const */
#else
enum YY_parse_ENUM_TOKEN { YY_parse_NULL_TOKEN=0

 #line 310 "/usr/share/bison++/bison.cc"
	,T_UNIMPORTANT=258
	,T_CHARACTER_LITERAL=259
	,T_DOUBLE_LITERAL=260
	,T_IDENTIFIER=261
	,T_INTEGER_LITERAL=262
	,T_STRING_LITERAL=263
	,T_INCLUDE=264
	,T_CLASS=265
	,T_STRUCT=266
	,T_LEFT_CURLY_BRACKET=267
	,T_LEFT_PARANTHESIS=268
	,T_RIGHT_CURLY_BRACKET=269
	,T_RIGHT_PARANTHESIS=270
	,T_COLON=271
	,T_SEMICOLON=272
	,T_PUBLIC=273
	,T_PROTECTED=274
	,T_TRIPE_DOT=275
	,T_PRIVATE=276
	,T_VIRTUAL=277
	,T_CONST=278
	,T_THROW=279
	,T_INLINE=280
	,T_FRIEND=281
	,T_RETURN=282
	,T_SIGNAL=283
	,T_SLOT=284
	,T_TYPEDEF=285
	,T_PLUS=286
	,T_MINUS=287
	,T_COMMA=288
	,T_ASTERISK=289
	,T_TILDE=290
	,T_LESS=291
	,T_GREATER=292
	,T_AMPERSAND=293
	,T_EXTERN=294
	,T_EXTERN_C=295
	,T_ACCESS=296
	,T_ENUM=297
	,T_NAMESPACE=298
	,T_USING=299
	,T_UNKNOWN=300
	,T_TRIPLE_DOT=301
	,T_TRUE=302
	,T_FALSE=303
	,T_STATIC=304
	,T_MUTABLE=305
	,T_EQUAL=306
	,T_SCOPE=307
	,T_NULL=308
	,T_INT=309
	,T_ARRAY_OPEN=310
	,T_ARRAY_CLOSE=311
	,T_CHAR=312
	,T_ULXRMETHODS_AREA=313
	,T_ULXRFUNCTION=314
	,T_ULXRCTOR_AREA=315
	,T_MOCKMETHODS_AREA=316
	,T_MOCKCTOR_AREA=317
	,T_SIGNED=318
	,T_UNSIGNED=319
	,T_LONG=320
	,T_SHORT=321
	,T_FUNOPERATOR=322
	,T_MISCOPERATOR=323
	,T_SHIFT=324
	,T_DCOP=325
	,T_DCOP_AREA=326
	,T_DCOP_SIGNAL_AREA=327
	,T_QOBJECT=328


#line 310 "/usr/share/bison++/bison.cc"
 /* enum token */
     }; /* end of enum declaration */
#endif
public:
 int YY_parse_PARSE (YY_parse_PARSE_PARAM);
 virtual void YY_parse_ERROR(char *msg) YY_parse_ERROR_BODY;
#ifdef YY_parse_PURE
#ifdef YY_parse_LSP_NEEDED
 virtual int  YY_parse_LEX (YY_parse_STYPE *YY_parse_LVAL,YY_parse_LTYPE *YY_parse_LLOC) YY_parse_LEX_BODY;
#else
 virtual int  YY_parse_LEX (YY_parse_STYPE *YY_parse_LVAL) YY_parse_LEX_BODY;
#endif
#else
 virtual int YY_parse_LEX() YY_parse_LEX_BODY;
 YY_parse_STYPE YY_parse_LVAL;
#ifdef YY_parse_LSP_NEEDED
 YY_parse_LTYPE YY_parse_LLOC;
#endif
 int   YY_parse_NERRS;
 int    YY_parse_CHAR;
#endif
#if YY_parse_DEBUG != 0
 int YY_parse_DEBUG_FLAG;   /*  nonzero means print parse trace     */
#endif
public:
 YY_parse_CLASS(YY_parse_CONSTRUCTOR_PARAM);
public:
 YY_parse_MEMBERS 
};
/* other declare folow */
#if YY_parse_USE_CONST_TOKEN != 0

 #line 341 "/usr/share/bison++/bison.cc"
const int YY_parse_CLASS::T_UNIMPORTANT=258;
const int YY_parse_CLASS::T_CHARACTER_LITERAL=259;
const int YY_parse_CLASS::T_DOUBLE_LITERAL=260;
const int YY_parse_CLASS::T_IDENTIFIER=261;
const int YY_parse_CLASS::T_INTEGER_LITERAL=262;
const int YY_parse_CLASS::T_STRING_LITERAL=263;
const int YY_parse_CLASS::T_INCLUDE=264;
const int YY_parse_CLASS::T_CLASS=265;
const int YY_parse_CLASS::T_STRUCT=266;
const int YY_parse_CLASS::T_LEFT_CURLY_BRACKET=267;
const int YY_parse_CLASS::T_LEFT_PARANTHESIS=268;
const int YY_parse_CLASS::T_RIGHT_CURLY_BRACKET=269;
const int YY_parse_CLASS::T_RIGHT_PARANTHESIS=270;
const int YY_parse_CLASS::T_COLON=271;
const int YY_parse_CLASS::T_SEMICOLON=272;
const int YY_parse_CLASS::T_PUBLIC=273;
const int YY_parse_CLASS::T_PROTECTED=274;
const int YY_parse_CLASS::T_TRIPE_DOT=275;
const int YY_parse_CLASS::T_PRIVATE=276;
const int YY_parse_CLASS::T_VIRTUAL=277;
const int YY_parse_CLASS::T_CONST=278;
const int YY_parse_CLASS::T_THROW=279;
const int YY_parse_CLASS::T_INLINE=280;
const int YY_parse_CLASS::T_FRIEND=281;
const int YY_parse_CLASS::T_RETURN=282;
const int YY_parse_CLASS::T_SIGNAL=283;
const int YY_parse_CLASS::T_SLOT=284;
const int YY_parse_CLASS::T_TYPEDEF=285;
const int YY_parse_CLASS::T_PLUS=286;
const int YY_parse_CLASS::T_MINUS=287;
const int YY_parse_CLASS::T_COMMA=288;
const int YY_parse_CLASS::T_ASTERISK=289;
const int YY_parse_CLASS::T_TILDE=290;
const int YY_parse_CLASS::T_LESS=291;
const int YY_parse_CLASS::T_GREATER=292;
const int YY_parse_CLASS::T_AMPERSAND=293;
const int YY_parse_CLASS::T_EXTERN=294;
const int YY_parse_CLASS::T_EXTERN_C=295;
const int YY_parse_CLASS::T_ACCESS=296;
const int YY_parse_CLASS::T_ENUM=297;
const int YY_parse_CLASS::T_NAMESPACE=298;
const int YY_parse_CLASS::T_USING=299;
const int YY_parse_CLASS::T_UNKNOWN=300;
const int YY_parse_CLASS::T_TRIPLE_DOT=301;
const int YY_parse_CLASS::T_TRUE=302;
const int YY_parse_CLASS::T_FALSE=303;
const int YY_parse_CLASS::T_STATIC=304;
const int YY_parse_CLASS::T_MUTABLE=305;
const int YY_parse_CLASS::T_EQUAL=306;
const int YY_parse_CLASS::T_SCOPE=307;
const int YY_parse_CLASS::T_NULL=308;
const int YY_parse_CLASS::T_INT=309;
const int YY_parse_CLASS::T_ARRAY_OPEN=310;
const int YY_parse_CLASS::T_ARRAY_CLOSE=311;
const int YY_parse_CLASS::T_CHAR=312;
const int YY_parse_CLASS::T_ULXRMETHODS_AREA=313;
const int YY_parse_CLASS::T_ULXRFUNCTION=314;
const int YY_parse_CLASS::T_ULXRCTOR_AREA=315;
const int YY_parse_CLASS::T_MOCKMETHODS_AREA=316;
const int YY_parse_CLASS::T_MOCKCTOR_AREA=317;
const int YY_parse_CLASS::T_SIGNED=318;
const int YY_parse_CLASS::T_UNSIGNED=319;
const int YY_parse_CLASS::T_LONG=320;
const int YY_parse_CLASS::T_SHORT=321;
const int YY_parse_CLASS::T_FUNOPERATOR=322;
const int YY_parse_CLASS::T_MISCOPERATOR=323;
const int YY_parse_CLASS::T_SHIFT=324;
const int YY_parse_CLASS::T_DCOP=325;
const int YY_parse_CLASS::T_DCOP_AREA=326;
const int YY_parse_CLASS::T_DCOP_SIGNAL_AREA=327;
const int YY_parse_CLASS::T_QOBJECT=328;


#line 341 "/usr/share/bison++/bison.cc"
 /* const YY_parse_CLASS::token */
#endif
/*apres const  */
YY_parse_CLASS::YY_parse_CLASS(YY_parse_CONSTRUCTOR_PARAM) YY_parse_CONSTRUCTOR_INIT
{
#if YY_parse_DEBUG != 0
YY_parse_DEBUG_FLAG=0;
#endif
YY_parse_CONSTRUCTOR_CODE;
};
#endif

 #line 352 "/usr/share/bison++/bison.cc"


#define	YYFINAL		406
#define	YYFLAG		-32768
#define	YYNTBASE	74

#define YYTRANSLATE(x) ((unsigned)(x) <= 328 ? yytranslate[x] : 131)

static const char yytranslate[] = {     0,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     1,     2,     3,     4,     5,
     6,     7,     8,     9,    10,    11,    12,    13,    14,    15,
    16,    17,    18,    19,    20,    21,    22,    23,    24,    25,
    26,    27,    28,    29,    30,    31,    32,    33,    34,    35,
    36,    37,    38,    39,    40,    41,    42,    43,    44,    45,
    46,    47,    48,    49,    50,    51,    52,    53,    54,    55,
    56,    57,    58,    59,    60,    61,    62,    63,    64,    65,
    66,    67,    68,    69,    70,    71,    72,    73
};

#if YY_parse_DEBUG != 0
static const short yyprhs[] = {     0,
     0,     4,     5,     8,    13,    14,    17,    20,    22,    24,
    25,    32,    40,    44,    48,    54,    55,    63,    68,    74,
    77,    82,    90,    99,   102,   104,   106,   108,   111,   112,
   114,   116,   118,   120,   122,   124,   126,   130,   133,   136,
   139,   143,   146,   150,   152,   156,   158,   163,   167,   169,
   172,   176,   179,   181,   182,   184,   186,   189,   193,   196,
   199,   202,   205,   208,   211,   214,   217,   220,   226,   231,
   236,   241,   248,   253,   260,   267,   275,   282,   289,   295,
   299,   301,   305,   307,   309,   311,   314,   316,   318,   320,
   324,   328,   336,   346,   347,   352,   353,   355,   357,   360,
   362,   365,   368,   372,   375,   379,   382,   386,   389,   393,
   395,   397,   400,   402,   405,   407,   410,   413,   416,   418,
   420,   424,   425,   427,   431,   433,   435,   438,   441,   446,
   453,   457,   459,   462,   464,   468,   472,   475,   478,   482,
   485,   487,   491,   494,   498,   500,   504,   507,   509,   510,
   513,   519,   521,   523,   525,   527,   532,   533,   535,   537,
   539,   541,   543,   545,   553,   562,   573,   582,   584,   588,
   589,   594,   596,   600,   603,   609,   617,   624,   628,   630,
   632,   636,   641,   644,   646,   647,   649,   652,   653,   655,
   659,   662,   665,   669,   675,   681,   687,   694
};

static const short yyrhs[] = {    75,
    79,    74,     0,     0,    75,     9,     0,    40,    12,    74,
    14,     0,     0,    71,    16,     0,    72,    16,     0,    70,
     0,    73,     0,     0,    10,    89,    93,    78,    95,    17,
     0,    10,     6,    89,    93,    78,    95,    17,     0,    10,
    89,    17,     0,    11,    89,    17,     0,    11,    89,    93,
    95,    17,     0,     0,    43,     6,    12,    80,    74,    14,
    94,     0,    44,    43,     6,    17,     0,    44,     6,    52,
     6,    17,     0,    39,    17,     0,    30,   111,    89,    17,
     0,    30,    11,    12,    81,    14,    89,    17,     0,    30,
    11,    89,    12,    81,    14,    89,    17,     0,    25,   122,
     0,   122,     0,   130,     0,    96,     0,   130,    81,     0,
     0,    47,     0,    48,     0,    21,     0,    19,     0,    18,
     0,    28,     0,    29,     0,    83,    84,    16,     0,    84,
    16,     0,    83,    16,     0,    61,    16,     0,    83,    61,
    16,     0,    62,    16,     0,    83,    62,    16,     0,     6,
     0,     6,    52,    89,     0,    89,     0,    89,    36,   112,
    37,     0,   116,    18,    90,     0,    90,     0,    91,    12,
     0,    91,    33,    92,     0,    16,    92,     0,    12,     0,
     0,    17,     0,    14,     0,   101,    95,     0,    25,   122,
    95,     0,   122,    95,     0,    87,    95,     0,    88,    95,
     0,    96,    95,     0,    86,    95,     0,    76,    95,     0,
    85,    95,     0,    77,    95,     0,   130,    95,     0,    26,
    10,    89,    17,    95,     0,    26,    89,    17,    95,     0,
    26,   118,    17,    95,     0,    10,    89,    17,    95,     0,
    10,    89,    93,    95,    17,    95,     0,    11,    89,    17,
    95,     0,    11,    89,    93,    95,    17,    95,     0,    44,
     6,    52,     6,    17,    95,     0,    42,     6,    12,    97,
    14,     6,    17,     0,    42,     6,    12,    97,    14,    17,
     0,    42,    12,    97,    14,     6,    17,     0,    42,    12,
    97,    14,    17,     0,    98,    33,    97,     0,    98,     0,
     6,    51,   100,     0,     6,     0,     4,     0,     7,     0,
    32,     7,     0,    53,     0,    89,     0,    99,     0,    99,
    31,    99,     0,    99,    69,    99,     0,    30,    89,    36,
   112,    37,    89,    17,     0,    30,    89,    36,   112,    37,
    52,     6,    89,    17,     0,     0,    24,    13,   107,    15,
     0,     0,    23,     0,    63,     0,    63,    54,     0,    64,
     0,    64,    54,     0,    63,    66,     0,    63,    66,    54,
     0,    63,    65,     0,    63,    65,    54,     0,    64,    66,
     0,    64,    66,    54,     0,    64,    65,     0,    64,    65,
    54,     0,    54,     0,    65,     0,    65,    54,     0,    66,
     0,    66,    54,     0,    57,     0,    63,    57,     0,    64,
    57,     0,    34,   105,     0,    34,     0,   115,     0,   106,
    33,   115,     0,     0,   113,     0,   107,    33,   113,     0,
   104,     0,    89,     0,    11,    89,     0,    10,    89,     0,
    89,    36,   109,    37,     0,    89,    36,   109,    37,    52,
    89,     0,   110,    33,   109,     0,   110,     0,   108,   105,
     0,   108,     0,    23,   108,   105,     0,    23,   108,    38,
     0,    23,   108,     0,   108,    23,     0,   108,    23,    38,
     0,   108,    38,     0,   108,     0,   108,   105,    23,     0,
   108,   105,     0,   111,    33,   112,     0,   111,     0,   111,
    89,   114,     0,   111,   114,     0,    46,     0,     0,    51,
   115,     0,    51,    13,   111,    15,   115,     0,     8,     0,
   100,     0,     5,     0,    82,     0,    89,    13,   106,    15,
     0,     0,    22,     0,    68,     0,    69,     0,    37,     0,
    36,     0,    51,     0,   111,    89,    13,   107,    15,   103,
   102,     0,    22,   111,    89,    13,   107,    15,   103,   102,
     0,    22,   111,    89,    13,   107,    15,   103,   102,    51,
    53,     0,   111,    67,   117,    13,   107,    15,   103,   102,
     0,   115,     0,   115,    33,   119,     0,     0,     6,    13,
   119,    15,     0,   120,     0,   120,    33,   121,     0,   118,
   124,     0,    89,    13,   107,    15,   124,     0,    89,    13,
   107,    15,    16,   121,   124,     0,   116,    35,    89,    13,
    15,   124,     0,    49,   118,   124,     0,    12,     0,    17,
     0,   123,   125,    14,     0,   123,   125,    14,    17,     0,
   126,   125,     0,    34,     0,     0,    17,     0,    33,   129,
     0,     0,     6,     0,     6,    51,   115,     0,   105,     6,
     0,   128,   127,     0,   111,   129,    17,     0,   111,    89,
    16,     7,    17,     0,    49,   111,     6,   114,    17,     0,
    50,   111,     6,   114,    17,     0,   111,     6,    55,   100,
    56,    17,     0,    49,   111,     6,    55,   100,    56,    17,
     0
};

#endif

#if (YY_parse_DEBUG != 0) || defined(YY_parse_ERROR_VERBOSE) 
static const short yyrline[] = { 0,
   178,   181,   185,   189,   192,   198,   205,   212,   213,   214,
   218,   223,   229,   232,   235,   238,   242,   250,   253,   256,
   259,   262,   265,   268,   271,   274,   277,   283,   284,   287,
   287,   289,   289,   289,   295,   295,   298,   302,   308,   315,
   320,   328,   333,   341,   345,   354,   360,   369,   373,   380,
   384,   391,   395,   402,   405,   409,   413,   417,   421,   425,
   429,   433,   437,   441,   445,   449,   453,   457,   461,   465,
   469,   473,   477,   481,   485,   492,   493,   494,   495,   499,
   500,   504,   505,   509,   510,   511,   512,   513,   517,   518,
   519,   523,   535,   543,   547,   554,   558,   565,   566,   567,
   568,   569,   570,   571,   572,   573,   574,   575,   576,   577,
   578,   579,   580,   581,   582,   583,   584,   588,   592,   599,
   602,   609,   613,   614,   622,   623,   624,   625,   626,   633,
   645,   649,   657,   662,   671,   681,   690,   696,   702,   711,
   720,   726,   736,   749,   753,   760,   772,   783,   792,   795,
   798,   805,   808,   811,   814,   817,   823,   824,   828,   828,
   828,   828,   828,   832,   860,   888,   917,   928,   929,   930,
   935,   940,   941,   945,   959,   987,  1014,  1021,  1033,  1040,
  1041,  1042,  1046,  1047,  1048,  1052,  1056,  1057,  1060,  1061,
  1062,  1065,  1069,  1070,  1071,  1072,  1073,  1074
};

static const char * const yytname[] = {   "$","error","$illegal.","T_UNIMPORTANT",
"T_CHARACTER_LITERAL","T_DOUBLE_LITERAL","T_IDENTIFIER","T_INTEGER_LITERAL",
"T_STRING_LITERAL","T_INCLUDE","T_CLASS","T_STRUCT","T_LEFT_CURLY_BRACKET","T_LEFT_PARANTHESIS",
"T_RIGHT_CURLY_BRACKET","T_RIGHT_PARANTHESIS","T_COLON","T_SEMICOLON","T_PUBLIC",
"T_PROTECTED","T_TRIPE_DOT","T_PRIVATE","T_VIRTUAL","T_CONST","T_THROW","T_INLINE",
"T_FRIEND","T_RETURN","T_SIGNAL","T_SLOT","T_TYPEDEF","T_PLUS","T_MINUS","T_COMMA",
"T_ASTERISK","T_TILDE","T_LESS","T_GREATER","T_AMPERSAND","T_EXTERN","T_EXTERN_C",
"T_ACCESS","T_ENUM","T_NAMESPACE","T_USING","T_UNKNOWN","T_TRIPLE_DOT","T_TRUE",
"T_FALSE","T_STATIC","T_MUTABLE","T_EQUAL","T_SCOPE","T_NULL","T_INT","T_ARRAY_OPEN",
"T_ARRAY_CLOSE","T_CHAR","T_ULXRMETHODS_AREA","T_ULXRFUNCTION","T_ULXRCTOR_AREA",
"T_MOCKMETHODS_AREA","T_MOCKCTOR_AREA","T_SIGNED","T_UNSIGNED","T_LONG","T_SHORT",
"T_FUNOPERATOR","T_MISCOPERATOR","T_SHIFT","T_DCOP","T_DCOP_AREA","T_DCOP_SIGNAL_AREA",
"T_QOBJECT","main","includes","dcop_area_begin","dcop_signal_area_begin","platformtag",
"declaration","@1","member_list","bool_value","access_kw","sigslot","signal_area_begin",
"access_kw_begin","mockpp_methods_area_begin","mockpp_constructor_area_begin",
"Identifier","super_class_name","super_class","super_classes","class_header",
"opt_semicolon","body","enum","enum_list","enum_item","number","int_expression",
"typedef","throw_qualifier","const_qualifier","int_type","asterisks","vparams",
"params","type_name","templ_type_list","templ_type","type","type_list","param",
"default","value","virtual_qualifier","operator","function_header","values",
"init_item","init_list","function","function_begin","function_body","function_lines",
"function_line","Identifier_list_rest","Identifier_list_entry","Identifier_list",
"member",""
};
#endif

static const short yyr1[] = {     0,
    74,    74,    75,    75,    75,    76,    77,    78,    78,    78,
    79,    79,    79,    79,    79,    80,    79,    79,    79,    79,
    79,    79,    79,    79,    79,    79,    79,    81,    81,    82,
    82,    83,    83,    83,    84,    84,    85,    85,    86,    87,
    87,    88,    88,    89,    89,    90,    90,    91,    91,    92,
    92,    93,    93,    94,    94,    95,    95,    95,    95,    95,
    95,    95,    95,    95,    95,    95,    95,    95,    95,    95,
    95,    95,    95,    95,    95,    96,    96,    96,    96,    97,
    97,    98,    98,    99,    99,    99,    99,    99,   100,   100,
   100,   101,   101,   102,   102,   103,   103,   104,   104,   104,
   104,   104,   104,   104,   104,   104,   104,   104,   104,   104,
   104,   104,   104,   104,   104,   104,   104,   105,   105,   106,
   106,   107,   107,   107,   108,   108,   108,   108,   108,   108,
   109,   109,   110,   110,   111,   111,   111,   111,   111,   111,
   111,   111,   111,   112,   112,   113,   113,   113,   114,   114,
   114,   115,   115,   115,   115,   115,   116,   116,   117,   117,
   117,   117,   117,   118,   118,   118,   118,   119,   119,   119,
   120,   121,   121,   122,   122,   122,   122,   122,   123,   124,
   124,   124,   125,   125,   125,   126,   127,   127,   128,   128,
   128,   129,   130,   130,   130,   130,   130,   130
};

static const short yyr2[] = {     0,
     3,     0,     2,     4,     0,     2,     2,     1,     1,     0,
     6,     7,     3,     3,     5,     0,     7,     4,     5,     2,
     4,     7,     8,     2,     1,     1,     1,     2,     0,     1,
     1,     1,     1,     1,     1,     1,     3,     2,     2,     2,
     3,     2,     3,     1,     3,     1,     4,     3,     1,     2,
     3,     2,     1,     0,     1,     1,     2,     3,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     5,     4,     4,
     4,     6,     4,     6,     6,     7,     6,     6,     5,     3,
     1,     3,     1,     1,     1,     2,     1,     1,     1,     3,
     3,     7,     9,     0,     4,     0,     1,     1,     2,     1,
     2,     2,     3,     2,     3,     2,     3,     2,     3,     1,
     1,     2,     1,     2,     1,     2,     2,     2,     1,     1,
     3,     0,     1,     3,     1,     1,     2,     2,     4,     6,
     3,     1,     2,     1,     3,     3,     2,     2,     3,     2,
     1,     3,     2,     3,     1,     3,     2,     1,     0,     2,
     5,     1,     1,     1,     1,     4,     0,     1,     1,     1,
     1,     1,     1,     7,     8,    10,     8,     1,     3,     0,
     4,     1,     3,     2,     5,     7,     6,     3,     1,     1,
     3,     4,     2,     1,     0,     1,     2,     0,     1,     3,
     2,     2,     3,     5,     5,     5,     6,     7
};

static const short yydefact[] = {     5,
     0,   157,     5,    44,     3,     0,     0,   158,     0,   157,
     0,     0,     0,     0,     0,     0,     0,   110,   115,    98,
   100,   111,   113,     5,   126,    27,   125,   141,     0,     0,
     0,    25,    26,     0,     0,    44,   128,   127,     0,     0,
   126,     0,   137,     0,     0,    24,     0,     0,    20,     0,
     0,     0,     0,     0,     0,     0,     0,     0,    99,   116,
   104,   102,   101,   117,   108,   106,   112,   114,     1,   122,
     0,   138,   119,   140,   143,    44,     0,     0,     0,   188,
     0,     0,   179,   180,   185,   174,     4,    45,     0,    53,
   157,    13,    10,    14,   157,   128,   127,     0,   136,   135,
     0,    29,   127,     0,     0,    83,     0,    81,    16,     0,
     0,    44,   178,   149,   105,   103,   109,   107,   148,     0,
   149,   123,   134,     0,   132,   139,   118,   142,     0,     0,
   162,   161,   163,   159,   160,     0,   122,     0,   191,     0,
   192,   193,     0,   186,   184,     0,   185,    10,   158,    46,
    49,     0,    52,     0,     8,     9,   157,     0,     0,    56,
    34,    33,    32,   157,     0,    35,    36,     0,     0,     0,
     0,     0,     0,   157,   157,     0,     0,   157,   157,   157,
   157,     0,   157,   157,   157,   157,   122,     0,     0,     0,
    29,    29,    21,     0,     0,     0,     0,     5,     0,    18,
     0,     0,     0,     0,     0,     0,   149,   147,   133,   129,
     0,    84,   154,    85,   152,     0,    30,    31,    87,   155,
    88,    89,   153,   190,    88,     0,   122,     0,     0,   189,
   187,     0,   181,   183,   157,     0,    50,   157,     0,     0,
   128,   127,   157,     0,   126,     0,     0,     0,    40,    42,
     6,     7,    64,    66,    39,     0,     0,     0,    38,    65,
    63,    60,    61,    15,    62,    57,    59,    67,     0,     0,
     0,     0,    28,     0,     0,    82,     0,    79,    80,     0,
    19,     0,   150,     0,   195,   196,     0,   175,   124,   146,
     0,   131,    86,     0,     0,     0,     0,     0,    96,   194,
     0,   182,     0,   145,     0,    51,    48,    11,   157,   157,
   157,   157,    58,   128,   157,   157,     0,     0,    41,    43,
    37,    96,   149,     0,     0,     0,    77,    78,    54,     0,
     0,     0,   172,     0,   130,     0,   120,    90,    91,   197,
    96,    97,    94,   177,    12,     0,    47,    71,     0,    73,
     0,   157,    69,    70,     0,     0,    94,    22,     0,    76,
    55,    17,     0,   198,   170,     0,   176,   156,     0,    94,
     0,   164,   144,   157,   157,    68,     0,   157,   165,    23,
   151,   168,     0,   173,   121,   167,   122,    72,    74,     0,
     0,    75,     0,   170,   171,     0,     0,    92,   166,   169,
    95,     0,    93,     0,     0,     0
};

static const short yydefgoto[] = {    34,
     2,   174,   175,   157,    24,   198,   189,   220,   176,   177,
   178,   179,   180,   181,    25,   151,   152,   153,    93,   362,
   182,   183,   107,   108,   222,   223,   184,   372,   343,    27,
    79,   336,   120,    28,   124,   125,    29,   305,   122,   203,
   382,    30,   136,    31,   383,   333,   334,   185,    85,    86,
   146,   147,   141,    80,    81,   186
};

static const short yypact[] = {    28,
   129,   516,    31,    77,-32768,   164,   204,   561,    41,   271,
   579,   180,    51,   223,    29,   339,   561,-32768,-32768,   161,
   174,   189,   198,    53,    42,-32768,-32768,   168,    14,   187,
    49,-32768,-32768,   231,   204,    18,   176,   191,   204,   204,
   225,   204,   208,   339,    20,-32768,   152,   204,-32768,   256,
   263,   258,   220,   267,   561,    25,    49,   269,-32768,-32768,
   226,   230,-32768,-32768,   233,   251,-32768,-32768,-32768,   384,
    41,   248,   245,-32768,   281,   105,    99,   104,   300,   274,
   292,   204,-32768,-32768,    43,-32768,-32768,-32768,   250,-32768,
   165,-32768,   143,-32768,   452,-32768,-32768,   297,-32768,-32768,
   299,   320,   301,   298,   263,   265,   303,   285,-32768,   308,
   304,    82,-32768,   272,-32768,-32768,-32768,-32768,-32768,   110,
    40,-32768,   245,   287,   289,-32768,-32768,-32768,   172,    96,
-32768,-32768,-32768,-32768,-32768,   314,   384,   322,-32768,    50,
-32768,-32768,   319,-32768,-32768,   324,    43,   143,-32768,   305,
-32768,   106,-32768,   315,-32768,-32768,   452,   204,   204,-32768,
-32768,-32768,-32768,   271,   534,-32768,-32768,   204,   333,   326,
   328,   330,   331,   452,   452,    85,   332,   452,   452,   452,
   452,   334,   452,   452,   452,   452,   384,   561,   341,    52,
   320,   320,-32768,   342,    96,   177,   263,    31,   336,-32768,
   404,    96,   347,   348,   232,   384,   272,-32768,-32768,   306,
    41,-32768,-32768,-32768,-32768,   359,-32768,-32768,-32768,-32768,
   354,     6,-32768,-32768,-32768,   312,   384,   111,   355,   325,
-32768,   358,   361,-32768,   452,   561,-32768,   165,   204,   362,
   239,   241,   452,   204,    94,   363,   346,   323,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,   371,   376,   381,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,   130,   392,
   204,   383,-32768,   386,   184,-32768,   389,-32768,-32768,   387,
-32768,   561,-32768,   357,-32768,-32768,   408,-32768,-32768,-32768,
   204,-32768,-32768,   172,    96,    96,   398,   133,   393,-32768,
    49,-32768,   402,   388,   385,-32768,-32768,-32768,   452,   452,
   452,   452,-32768,   403,   452,   452,   561,   417,-32768,-32768,
-32768,   393,   216,   407,   204,   414,-32768,-32768,   418,   410,
   420,   421,   406,    49,-32768,   136,-32768,-32768,-32768,-32768,
   393,-32768,   416,-32768,-32768,   561,-32768,-32768,   425,-32768,
   426,   452,-32768,-32768,   409,   427,   416,-32768,   428,-32768,
-32768,-32768,   172,-32768,   172,   408,-32768,-32768,   172,   416,
   440,-32768,-32768,   452,   452,-32768,    21,   452,   405,-32768,
-32768,   422,   439,-32768,-32768,-32768,   384,-32768,-32768,   454,
   444,-32768,   411,   172,-32768,   140,   204,-32768,-32768,-32768,
-32768,   448,-32768,   467,   468,-32768
};

static const short yypgoto[] = {    19,
-32768,-32768,-32768,   335,-32768,-32768,    32,-32768,-32768,   296,
-32768,-32768,-32768,-32768,    -6,   237,-32768,   246,   -30,-32768,
   117,   477,   -87,-32768,   -61,  -105,-32768,  -238,  -201,-32768,
   -11,-32768,  -133,     3,   275,-32768,    72,  -277,   279,   -99,
  -122,   -77,-32768,     0,    93,-32768,   122,    11,-32768,   -51,
   343,-32768,-32768,-32768,   349,     7
};


#define	YYLAST		645


static const short yytable[] = {    37,
    38,    41,    41,   228,    41,   113,   224,    95,    33,    41,
    41,    43,    32,   154,   204,    57,    75,   194,   404,    76,
    46,   208,    78,     4,   226,     4,     4,    -2,    88,    89,
   112,   100,    96,    97,    53,    98,   295,    41,   101,   355,
   103,   104,    69,    57,    -2,     4,     4,    73,    41,   101,
    39,    40,    -2,   269,    70,   230,    50,    76,   148,   144,
    83,   127,    51,    41,    41,    84,    -2,     1,   373,    35,
     1,    54,   390,   123,   296,   143,   145,    71,   283,    42,
    77,    45,    48,    73,   150,    73,    77,    56,    58,   276,
   201,    77,     1,   298,    18,    41,   284,    19,  -149,   212,
   255,     4,   214,    20,    21,    22,    23,   290,   191,   279,
   315,   209,   166,   167,   207,    45,   137,   237,   379,   138,
   357,  -189,   221,   225,   205,   299,    42,   216,    35,    71,
    41,   386,   201,    35,   131,   132,   202,  -189,   238,   370,
     3,   121,   206,   206,   322,   256,   257,   341,   219,   133,
   368,   241,   242,   288,   401,   129,    35,     4,   245,   130,
   154,   247,   206,   102,   246,   206,   134,   135,   369,    36,
     4,   337,   206,   190,   243,   212,   213,     4,   214,   215,
    41,    41,   277,   272,    41,    41,   149,    90,   225,   326,
    72,    91,    92,   278,   221,   225,    49,   191,   191,    41,
   327,    73,    90,   216,    41,    74,    91,    94,   121,     4,
   310,   312,   155,   123,    59,   156,   280,    60,   217,   218,
    41,    82,   273,   274,   219,    61,    62,    63,    52,    41,
    64,   150,   150,   338,   339,    45,    45,   314,    65,    66,
   381,    73,    67,    83,    87,    99,   385,   287,    84,   344,
    90,    68,    90,   396,    91,   309,    91,   311,   121,   270,
    71,    90,   190,   190,   324,    91,   201,   105,   106,   109,
   202,   110,   111,   240,   114,    41,     4,   121,    73,   115,
    39,    40,   367,   116,   335,   126,   117,   221,   225,   225,
   253,   254,     8,     9,   260,   261,   262,   263,   121,   265,
   266,   267,   268,   128,   118,   139,   140,   304,   142,   187,
    41,   137,   192,   199,   193,   195,   196,   197,   359,    44,
   200,   211,   201,   210,    18,     4,   227,    19,   229,    39,
    40,   232,   239,    20,    21,    22,    23,   233,   248,    41,
   236,   249,     9,   250,     4,   251,   252,   259,    39,    40,
   264,   303,   281,   330,   271,   275,   221,   291,   221,   313,
    55,     9,   221,   285,   286,   293,   294,   297,   188,    17,
   391,   300,   301,    18,   318,   129,    19,   302,   308,   316,
    41,   317,    20,    21,    22,    23,   319,   221,   304,     4,
   402,   320,    18,    39,    40,    19,   321,   323,   138,   325,
   329,    20,    21,    22,    23,   328,     9,   212,   213,     4,
   214,   215,   331,   332,   340,   342,   282,   304,   345,   352,
   346,   347,   356,   358,   363,   348,   349,   350,   351,   119,
   360,   353,   354,   365,   361,   216,   364,    18,   366,   371,
    19,   374,   375,   378,   380,   377,    20,    21,    22,    23,
   217,   218,   387,   395,   394,   393,   219,     4,   121,   397,
   398,   158,   159,   399,   403,   160,   405,   406,   376,   161,
   162,   258,   163,     8,     9,   307,   164,   165,    26,   166,
   167,   168,   235,   306,   289,   292,   400,   384,   231,   234,
   388,   389,     0,    13,   392,   169,     0,     0,     0,     0,
    16,    17,     0,     0,     0,    18,     0,     0,    19,     0,
     0,     0,   170,   171,    20,    21,    22,    23,     0,     0,
     0,     4,   172,   173,     5,     6,     7,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     8,     9,     4,
    10,     0,     0,   244,    40,    11,     0,     0,     0,     0,
     0,     0,     0,     0,    12,    55,     9,    13,    14,    15,
     0,     0,     0,     0,    16,    17,     4,     0,     0,    18,
    39,    40,    19,     0,     0,     0,     0,     0,    20,    21,
    22,    23,     0,     9,     4,     0,     0,    18,    39,    47,
    19,     0,     0,     0,     0,     0,    20,    21,    22,    23,
     0,     9,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,    18,     0,     0,    19,     0,     0,
     0,     0,     0,    20,    21,    22,    23,     0,     0,     0,
     0,     0,    18,     0,     0,    19,     0,     0,     0,     0,
     0,    20,    21,    22,    23
};

static const short yycheck[] = {     6,
     7,     8,     9,   137,    11,    57,   129,    38,     2,    16,
    17,     9,     2,    91,   114,    16,    28,   105,     0,     6,
    10,   121,    29,     6,   130,     6,     6,     0,    35,    36,
     6,    43,    39,    40,     6,    42,    31,    44,    45,   317,
    47,    48,    24,    44,    14,     6,     6,    34,    55,    56,
    10,    11,     0,   187,    13,     6,     6,     6,    89,    17,
    12,    73,    12,    70,    71,    17,    14,    40,   346,    52,
    40,    43,    52,    71,    69,    82,    34,    36,   201,     8,
    67,    10,    11,    34,    91,    34,    67,    16,    17,   195,
    51,    67,    40,   227,    54,   102,   202,    57,    17,     4,
    16,     6,     7,    63,    64,    65,    66,   207,   102,   197,
    17,   123,    28,    29,   121,    44,    13,    12,   357,    16,
   322,    17,   129,   130,    15,    15,    55,    32,    52,    36,
   137,   370,    51,    52,    36,    37,    55,    33,    33,   341,
    12,    70,    33,    33,    15,    61,    62,    15,    53,    51,
    15,   158,   159,   205,    15,    51,    52,     6,   165,    55,
   238,   168,    33,    12,   165,    33,    68,    69,    33,     6,
     6,   294,    33,   102,   164,     4,     5,     6,     7,     8,
   187,   188,     6,   190,   191,   192,    22,    12,   195,     6,
    23,    16,    17,    17,   201,   202,    17,   191,   192,   206,
    17,    34,    12,    32,   211,    38,    16,    17,   137,     6,
   241,   242,    70,   211,    54,    73,   198,    57,    47,    48,
   227,    35,   191,   192,    53,    65,    66,    54,     6,   236,
    57,   238,   239,   295,   296,   164,   165,   244,    65,    66,
   363,    34,    54,    12,    14,    38,   369,    16,    17,   301,
    12,    54,    12,   387,    16,    17,    16,    17,   187,   188,
    36,    12,   191,   192,   271,    16,    51,    12,     6,    12,
    55,    52,     6,   157,     6,   282,     6,   206,    34,    54,
    10,    11,   334,    54,   291,    38,    54,   294,   295,   296,
   174,   175,    22,    23,   178,   179,   180,   181,   227,   183,
   184,   185,   186,    23,    54,     6,    33,   236,    17,    13,
   317,    13,    12,     6,    17,    51,    14,    33,   325,    49,
    17,    33,    51,    37,    54,     6,    13,    57,     7,    10,
    11,    13,    18,    63,    64,    65,    66,    14,     6,   346,
    36,    16,    23,    16,     6,    16,    16,    16,    10,    11,
    17,   235,    17,   282,    14,    14,   363,    52,   365,   243,
    22,    23,   369,    17,    17,     7,    13,    56,    49,    50,
   377,    17,    15,    54,    52,    51,    57,    17,    17,    17,
   387,    36,    63,    64,    65,    66,    16,   394,   317,     6,
   397,    16,    54,    10,    11,    57,    16,     6,    16,    14,
    14,    63,    64,    65,    66,    17,    23,     4,     5,     6,
     7,     8,    56,     6,    17,    23,    13,   346,    17,    17,
    33,    37,     6,    17,    15,   309,   310,   311,   312,    46,
    17,   315,   316,    13,    17,    32,    17,    54,    33,    24,
    57,    17,    17,    17,    17,    37,    63,    64,    65,    66,
    47,    48,    13,    15,    33,    51,    53,     6,   387,     6,
    17,    10,    11,    53,    17,    14,     0,     0,   352,    18,
    19,   176,    21,    22,    23,   239,    25,    26,     2,    28,
    29,    30,   148,   238,   206,   211,   394,   366,   140,   147,
   374,   375,    -1,    42,   378,    44,    -1,    -1,    -1,    -1,
    49,    50,    -1,    -1,    -1,    54,    -1,    -1,    57,    -1,
    -1,    -1,    61,    62,    63,    64,    65,    66,    -1,    -1,
    -1,     6,    71,    72,     9,    10,    11,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    22,    23,     6,
    25,    -1,    -1,    10,    11,    30,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    39,    22,    23,    42,    43,    44,
    -1,    -1,    -1,    -1,    49,    50,     6,    -1,    -1,    54,
    10,    11,    57,    -1,    -1,    -1,    -1,    -1,    63,    64,
    65,    66,    -1,    23,     6,    -1,    -1,    54,    10,    11,
    57,    -1,    -1,    -1,    -1,    -1,    63,    64,    65,    66,
    -1,    23,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    54,    -1,    -1,    57,    -1,    -1,
    -1,    -1,    -1,    63,    64,    65,    66,    -1,    -1,    -1,
    -1,    -1,    54,    -1,    -1,    57,    -1,    -1,    -1,    -1,
    -1,    63,    64,    65,    66
};

#line 352 "/usr/share/bison++/bison.cc"
 /* fattrs + tables */

/* parser code folow  */


/* This is the parser code that is written into each bison parser
  when the %semantic_parser declaration is not specified in the grammar.
  It was written by Richard Stallman by simplifying the hairy parser
  used when %semantic_parser is specified.  */

/* Note: dollar marks section change
   the next  is replaced by the list of actions, each action
   as one case of the switch.  */ 

#if YY_parse_USE_GOTO != 0
/* 
 SUPRESSION OF GOTO : on some C++ compiler (sun c++)
  the goto is strictly forbidden if any constructor/destructor
  is used in the whole function (very stupid isn't it ?)
 so goto are to be replaced with a 'while/switch/case construct'
 here are the macro to keep some apparent compatibility
*/
#define YYGOTO(lb) {yy_gotostate=lb;continue;}
#define YYBEGINGOTO  enum yy_labels yy_gotostate=yygotostart; \
                     for(;;) switch(yy_gotostate) { case yygotostart: {
#define YYLABEL(lb) } case lb: {
#define YYENDGOTO } } 
#define YYBEGINDECLARELABEL enum yy_labels {yygotostart
#define YYDECLARELABEL(lb) ,lb
#define YYENDDECLARELABEL  };
#else
/* macro to keep goto */
#define YYGOTO(lb) goto lb
#define YYBEGINGOTO 
#define YYLABEL(lb) lb:
#define YYENDGOTO
#define YYBEGINDECLARELABEL 
#define YYDECLARELABEL(lb)
#define YYENDDECLARELABEL 
#endif
/* LABEL DECLARATION */
YYBEGINDECLARELABEL
  YYDECLARELABEL(yynewstate)
  YYDECLARELABEL(yybackup)
/* YYDECLARELABEL(yyresume) */
  YYDECLARELABEL(yydefault)
  YYDECLARELABEL(yyreduce)
  YYDECLARELABEL(yyerrlab)   /* here on detecting error */
  YYDECLARELABEL(yyerrlab1)   /* here on error raised explicitly by an action */
  YYDECLARELABEL(yyerrdefault)  /* current state does not do anything special for the error token. */
  YYDECLARELABEL(yyerrpop)   /* pop the current state because it cannot handle the error token */
  YYDECLARELABEL(yyerrhandle)  
YYENDDECLARELABEL
/* ALLOCA SIMULATION */
/* __HAVE_NO_ALLOCA */
#ifdef __HAVE_NO_ALLOCA
int __alloca_free_ptr(char *ptr,char *ref)
{if(ptr!=ref) free(ptr);
 return 0;}

#define __ALLOCA_alloca(size) malloc(size)
#define __ALLOCA_free(ptr,ref) __alloca_free_ptr((char *)ptr,(char *)ref)

#ifdef YY_parse_LSP_NEEDED
#define __ALLOCA_return(num) \
            do { return( __ALLOCA_free(yyss,yyssa)+\
		    __ALLOCA_free(yyvs,yyvsa)+\
		    __ALLOCA_free(yyls,yylsa)+\
		   (num)); } while(0)
#else
#define __ALLOCA_return(num) \
            do { return( __ALLOCA_free(yyss,yyssa)+\
		    __ALLOCA_free(yyvs,yyvsa)+\
		   (num)); } while(0)
#endif
#else
#define __ALLOCA_return(num) do { return(num); } while(0)
#define __ALLOCA_alloca(size) alloca(size)
#define __ALLOCA_free(ptr,ref) 
#endif

/* ENDALLOCA SIMULATION */

#define yyerrok         (yyerrstatus = 0)
#define yyclearin       (YY_parse_CHAR = YYEMPTY)
#define YYEMPTY         -2
#define YYEOF           0
#define YYACCEPT        __ALLOCA_return(0)
#define YYABORT         __ALLOCA_return(1)
#define YYERROR         YYGOTO(yyerrlab1)
/* Like YYERROR except do call yyerror.
   This remains here temporarily to ease the
   transition to the new meaning of YYERROR, for GCC.
   Once GCC version 2 has supplanted version 1, this can go.  */
#define YYFAIL          YYGOTO(yyerrlab)
#define YYRECOVERING()  (!!yyerrstatus)
#define YYBACKUP(token, value) \
do                                                              \
  if (YY_parse_CHAR == YYEMPTY && yylen == 1)                               \
    { YY_parse_CHAR = (token), YY_parse_LVAL = (value);                 \
      yychar1 = YYTRANSLATE (YY_parse_CHAR);                                \
      YYPOPSTACK;                                               \
      YYGOTO(yybackup);                                            \
    }                                                           \
  else                                                          \
    { YY_parse_ERROR ("syntax error: cannot back up"); YYERROR; }   \
while (0)

#define YYTERROR        1
#define YYERRCODE       256

#ifndef YY_parse_PURE
/* UNPURE */
#define YYLEX           YY_parse_LEX()
#ifndef YY_USE_CLASS
/* If nonreentrant, and not class , generate the variables here */
int     YY_parse_CHAR;                      /*  the lookahead symbol        */
YY_parse_STYPE      YY_parse_LVAL;              /*  the semantic value of the */
				/*  lookahead symbol    */
int YY_parse_NERRS;                 /*  number of parse errors so far */
#ifdef YY_parse_LSP_NEEDED
YY_parse_LTYPE YY_parse_LLOC;   /*  location data for the lookahead     */
			/*  symbol                              */
#endif
#endif


#else
/* PURE */
#ifdef YY_parse_LSP_NEEDED
#define YYLEX           YY_parse_LEX(&YY_parse_LVAL, &YY_parse_LLOC)
#else
#define YYLEX           YY_parse_LEX(&YY_parse_LVAL)
#endif
#endif
#ifndef YY_USE_CLASS
#if YY_parse_DEBUG != 0
int YY_parse_DEBUG_FLAG;                    /*  nonzero means print parse trace     */
/* Since this is uninitialized, it does not stop multiple parsers
   from coexisting.  */
#endif
#endif



/*  YYINITDEPTH indicates the initial size of the parser's stacks       */

#ifndef YYINITDEPTH
#define YYINITDEPTH 200
#endif

/*  YYMAXDEPTH is the maximum size the stacks can grow to
    (effective only if the built-in stack extension method is used).  */

#if YYMAXDEPTH == 0
#undef YYMAXDEPTH
#endif

#ifndef YYMAXDEPTH
#define YYMAXDEPTH 10000
#endif


#if __GNUC__ > 1                /* GNU C and GNU C++ define this.  */
#define __yy_bcopy(FROM,TO,COUNT)       __builtin_memcpy(TO,FROM,COUNT)
#else                           /* not GNU C or C++ */

/* This is the most reliable way to avoid incompatibilities
   in available built-in functions on various systems.  */

#ifdef __cplusplus
static void __yy_bcopy (char *from, char *to, int count)
#else
#ifdef __STDC__
static void __yy_bcopy (char *from, char *to, int count)
#else
static void __yy_bcopy (from, to, count)
     char *from;
     char *to;
     int count;
#endif
#endif
{
  register char *f = from;
  register char *t = to;
  register int i = count;

  while (i-- > 0)
    *t++ = *f++;
}
#endif


int
#ifdef YY_USE_CLASS
 YY_parse_CLASS::
#endif
     YY_parse_PARSE(YY_parse_PARSE_PARAM)
#ifndef __STDC__
#ifndef __cplusplus
#ifndef YY_USE_CLASS
/* parameter definition without protypes */
YY_parse_PARSE_PARAM_DEF
#endif
#endif
#endif
{
  register int yystate;
  register int yyn;
  register short *yyssp;
  register YY_parse_STYPE *yyvsp;
  int yyerrstatus;      /*  number of tokens to shift before error messages enabled */
  int yychar1=0;          /*  lookahead token as an internal (translated) token number */

  short yyssa[YYINITDEPTH];     /*  the state stack                     */
  YY_parse_STYPE yyvsa[YYINITDEPTH];        /*  the semantic value stack            */

  short *yyss = yyssa;          /*  refer to the stacks thru separate pointers */
  YY_parse_STYPE *yyvs = yyvsa;     /*  to allow yyoverflow to reallocate them elsewhere */

#ifdef YY_parse_LSP_NEEDED
  YY_parse_LTYPE yylsa[YYINITDEPTH];        /*  the location stack                  */
  YY_parse_LTYPE *yyls = yylsa;
  YY_parse_LTYPE *yylsp;

#define YYPOPSTACK   (yyvsp--, yyssp--, yylsp--)
#else
#define YYPOPSTACK   (yyvsp--, yyssp--)
#endif

  int yystacksize = YYINITDEPTH;

#ifdef YY_parse_PURE
  int YY_parse_CHAR;
  YY_parse_STYPE YY_parse_LVAL;
  int YY_parse_NERRS;
#ifdef YY_parse_LSP_NEEDED
  YY_parse_LTYPE YY_parse_LLOC;
#endif
#endif

  YY_parse_STYPE yyval;             /*  the variable used to return         */
				/*  semantic values from the action     */
				/*  routines                            */

  int yylen;
/* start loop, in which YYGOTO may be used. */
YYBEGINGOTO

#if YY_parse_DEBUG != 0
  if (YY_parse_DEBUG_FLAG)
    fprintf(stderr, "Starting parse\n");
#endif
  yystate = 0;
  yyerrstatus = 0;
  YY_parse_NERRS = 0;
  YY_parse_CHAR = YYEMPTY;          /* Cause a token to be read.  */

  /* Initialize stack pointers.
     Waste one element of value and location stack
     so that they stay on the same level as the state stack.
     The wasted elements are never initialized.  */

  yyssp = yyss - 1;
  yyvsp = yyvs;
#ifdef YY_parse_LSP_NEEDED
  yylsp = yyls;
#endif

/* Push a new state, which is found in  yystate  .  */
/* In all cases, when you get here, the value and location stacks
   have just been pushed. so pushing a state here evens the stacks.  */
YYLABEL(yynewstate)

  *++yyssp = yystate;

  if (yyssp >= yyss + yystacksize - 1)
    {
      /* Give user a chance to reallocate the stack */
      /* Use copies of these so that the &'s don't force the real ones into memory. */
      YY_parse_STYPE *yyvs1 = yyvs;
      short *yyss1 = yyss;
#ifdef YY_parse_LSP_NEEDED
      YY_parse_LTYPE *yyls1 = yyls;
#endif

      /* Get the current used size of the three stacks, in elements.  */
      int size = yyssp - yyss + 1;

#ifdef yyoverflow
      /* Each stack pointer address is followed by the size of
	 the data in use in that stack, in bytes.  */
#ifdef YY_parse_LSP_NEEDED
      /* This used to be a conditional around just the two extra args,
	 but that might be undefined if yyoverflow is a macro.  */
      yyoverflow("parser stack overflow",
		 &yyss1, size * sizeof (*yyssp),
		 &yyvs1, size * sizeof (*yyvsp),
		 &yyls1, size * sizeof (*yylsp),
		 &yystacksize);
#else
      yyoverflow("parser stack overflow",
		 &yyss1, size * sizeof (*yyssp),
		 &yyvs1, size * sizeof (*yyvsp),
		 &yystacksize);
#endif

      yyss = yyss1; yyvs = yyvs1;
#ifdef YY_parse_LSP_NEEDED
      yyls = yyls1;
#endif
#else /* no yyoverflow */
      /* Extend the stack our own way.  */
      if (yystacksize >= YYMAXDEPTH)
	{
	  YY_parse_ERROR("parser stack overflow");
	  __ALLOCA_return(2);
	}
      yystacksize *= 2;
      if (yystacksize > YYMAXDEPTH)
	yystacksize = YYMAXDEPTH;
      yyss = (short *) __ALLOCA_alloca (yystacksize * sizeof (*yyssp));
      __yy_bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
      __ALLOCA_free(yyss1,yyssa);
      yyvs = (YY_parse_STYPE *) __ALLOCA_alloca (yystacksize * sizeof (*yyvsp));
      __yy_bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
      __ALLOCA_free(yyvs1,yyvsa);
#ifdef YY_parse_LSP_NEEDED
      yyls = (YY_parse_LTYPE *) __ALLOCA_alloca (yystacksize * sizeof (*yylsp));
      __yy_bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp));
      __ALLOCA_free(yyls1,yylsa);
#endif
#endif /* no yyoverflow */

      yyssp = yyss + size - 1;
      yyvsp = yyvs + size - 1;
#ifdef YY_parse_LSP_NEEDED
      yylsp = yyls + size - 1;
#endif

#if YY_parse_DEBUG != 0
      if (YY_parse_DEBUG_FLAG)
	fprintf(stderr, "Stack size increased to %d\n", yystacksize);
#endif

      if (yyssp >= yyss + yystacksize - 1)
	YYABORT;
    }

#if YY_parse_DEBUG != 0
  if (YY_parse_DEBUG_FLAG)
    fprintf(stderr, "Entering state %d\n", yystate);
#endif

  YYGOTO(yybackup);
YYLABEL(yybackup)

/* Do appropriate processing given the current state.  */
/* Read a lookahead token if we need one and don't already have one.  */
/* YYLABEL(yyresume) */

  /* First try to decide what to do without reference to lookahead token.  */

  yyn = yypact[yystate];
  if (yyn == YYFLAG)
    YYGOTO(yydefault);

  /* Not known => get a lookahead token if don't already have one.  */

  /* yychar is either YYEMPTY or YYEOF
     or a valid token in external form.  */

  if (YY_parse_CHAR == YYEMPTY)
    {
#if YY_parse_DEBUG != 0
      if (YY_parse_DEBUG_FLAG)
	fprintf(stderr, "Reading a token: ");
#endif
      YY_parse_CHAR = YYLEX;
    }

  /* Convert token to internal form (in yychar1) for indexing tables with */

  if (YY_parse_CHAR <= 0)           /* This means end of input. */
    {
      yychar1 = 0;
      YY_parse_CHAR = YYEOF;                /* Don't call YYLEX any more */

#if YY_parse_DEBUG != 0
      if (YY_parse_DEBUG_FLAG)
	fprintf(stderr, "Now at end of input.\n");
#endif
    }
  else
    {
      yychar1 = YYTRANSLATE(YY_parse_CHAR);

#if YY_parse_DEBUG != 0
      if (YY_parse_DEBUG_FLAG)
	{
	  fprintf (stderr, "Next token is %d (%s", YY_parse_CHAR, yytname[yychar1]);
	  /* Give the individual parser a way to print the precise meaning
	     of a token, for further debugging info.  */
#ifdef YYPRINT
	  YYPRINT (stderr, YY_parse_CHAR, YY_parse_LVAL);
#endif
	  fprintf (stderr, ")\n");
	}
#endif
    }

  yyn += yychar1;
  if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
    YYGOTO(yydefault);

  yyn = yytable[yyn];

  /* yyn is what to do for this token type in this state.
     Negative => reduce, -yyn is rule number.
     Positive => shift, yyn is new state.
       New state is final state => don't bother to shift,
       just return success.
     0, or most negative number => error.  */

  if (yyn < 0)
    {
      if (yyn == YYFLAG)
	YYGOTO(yyerrlab);
      yyn = -yyn;
      YYGOTO(yyreduce);
    }
  else if (yyn == 0)
    YYGOTO(yyerrlab);

  if (yyn == YYFINAL)
    YYACCEPT;

  /* Shift the lookahead token.  */

#if YY_parse_DEBUG != 0
  if (YY_parse_DEBUG_FLAG)
    fprintf(stderr, "Shifting token %d (%s), ", YY_parse_CHAR, yytname[yychar1]);
#endif

  /* Discard the token being shifted unless it is eof.  */
  if (YY_parse_CHAR != YYEOF)
    YY_parse_CHAR = YYEMPTY;

  *++yyvsp = YY_parse_LVAL;
#ifdef YY_parse_LSP_NEEDED
  *++yylsp = YY_parse_LLOC;
#endif

  /* count tokens shifted since error; after three, turn off error status.  */
  if (yyerrstatus) yyerrstatus--;

  yystate = yyn;
  YYGOTO(yynewstate);

/* Do the default action for the current state.  */
YYLABEL(yydefault)

  yyn = yydefact[yystate];
  if (yyn == 0)
    YYGOTO(yyerrlab);

/* Do a reduction.  yyn is the number of a rule to reduce with.  */
YYLABEL(yyreduce)
  yylen = yyr2[yyn];
  if (yylen > 0)
    yyval = yyvsp[1-yylen]; /* implement default value of the action */

#if YY_parse_DEBUG != 0
  if (YY_parse_DEBUG_FLAG)
    {
      int i;

      fprintf (stderr, "Reducing via rule %d (line %d), ",
	       yyn, yyrline[yyn]);

      /* Print the symbols being reduced, and their result.  */
      for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
	fprintf (stderr, "%s ", yytname[yyrhs[i]]);
      fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
    }
#endif


 #line 839 "/usr/share/bison++/bison.cc"

  switch (yyn) {

case 1:
#line 179 "yacc.yy"
{
    ;
    break;}
case 3:
#line 186 "yacc.yy"
{
      printf("<INCLUDE>%s</INCLUDE>\n", yyvsp[0]._str->latin1() );
    ;
    break;}
case 4:
#line 190 "yacc.yy"
{
    ;
    break;}
case 5:
#line 193 "yacc.yy"
{
    ;
    break;}
case 6:
#line 199 "yacc.yy"
{
    /*empty*/
  ;
    break;}
case 7:
#line 206 "yacc.yy"
{
    /*empty*/
  ;
    break;}
case 8:
#line 212 "yacc.yy"
{ yyval._int = 1; ;
    break;}
case 9:
#line 213 "yacc.yy"
{ yyval._int = 2; ;
    break;}
case 10:
#line 214 "yacc.yy"
{ yyval._int = 0; ;
    break;}
case 11:
#line 219 "yacc.yy"
{
      printf("<CLASS>\n    <NAME>%s</NAME>\n%s%s</CLASS>\n", MString( in_namespace + *yyvsp[-4]._str ).latin1(), yyvsp[-3]._str->latin1(), yyvsp[-1]._str->latin1() );
      mocking_area = 0;
    ;
    break;}
case 12:
#line 224 "yacc.yy"
{
      printf("<CLASS>\n    <NAME>%s</NAME>\n    <LINK_SCOPE>%s</LINK_SCOPE>\n%s%s</CLASS>\n", MString( in_namespace + *yyvsp[-4]._str ).latin1(), yyvsp[-5]._str->latin1(),  yyvsp[-3]._str->latin1(), yyvsp[-1]._str->latin1() );
      mocking_area = 0;

    ;
    break;}
case 13:
#line 230 "yacc.yy"
{
    ;
    break;}
case 14:
#line 233 "yacc.yy"
{
    ;
    break;}
case 15:
#line 236 "yacc.yy"
{
    ;
    break;}
case 16:
#line 239 "yacc.yy"
{
          in_namespace += *yyvsp[-1]._str; in_namespace += "::";
      ;
    break;}
case 17:
#line 243 "yacc.yy"
{
            std::size_t pos = in_namespace.findRev( "::", -3 );
            if( pos != MString::npos )
                in_namespace = in_namespace.left( pos + 2 );
            else
                in_namespace = "";
        ;
    break;}
case 18:
#line 251 "yacc.yy"
{
    ;
    break;}
case 19:
#line 254 "yacc.yy"
{
    ;
    break;}
case 20:
#line 257 "yacc.yy"
{
    ;
    break;}
case 21:
#line 260 "yacc.yy"
{
    ;
    break;}
case 22:
#line 263 "yacc.yy"
{
    ;
    break;}
case 23:
#line 266 "yacc.yy"
{
    ;
    break;}
case 24:
#line 269 "yacc.yy"
{
    ;
    break;}
case 25:
#line 272 "yacc.yy"
{
    ;
    break;}
case 26:
#line 275 "yacc.yy"
{
    ;
    break;}
case 27:
#line 278 "yacc.yy"
{
    ;
    break;}
case 34:
#line 290 "yacc.yy"
{
    mocking_area = 0;
  ;
    break;}
case 37:
#line 299 "yacc.yy"
{
  ;
    break;}
case 38:
#line 303 "yacc.yy"
{
  ;
    break;}
case 39:
#line 309 "yacc.yy"
{
    mocking_area = 0;
  ;
    break;}
case 40:
#line 316 "yacc.yy"
{
    mockpp_methods_area = 1;
    mocking_area = 1;
  ;
    break;}
case 41:
#line 321 "yacc.yy"
{
    mockpp_methods_area = 1;
    mocking_area = 1;
  ;
    break;}
case 42:
#line 329 "yacc.yy"
{
    mockpp_constructor_area = 1;
    mocking_area = 1;
  ;
    break;}
case 43:
#line 334 "yacc.yy"
{
    mockpp_constructor_area = 1;
    mocking_area = 1;
  ;
    break;}
case 44:
#line 342 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 45:
#line 346 "yacc.yy"
{
      MString* tmp = new MString( "%1::%2" );
            *tmp = tmp->arg(*(yyvsp[-2]._str)).arg(*(yyvsp[0]._str));
            yyval._str = tmp;
    ;
    break;}
case 46:
#line 355 "yacc.yy"
{
      MString* tmp = new MString( "    <SUPER>%1</SUPER>\n" );
      *tmp = tmp->arg( *(yyvsp[0]._str) );
      yyval._str = tmp;
    ;
    break;}
case 47:
#line 361 "yacc.yy"
{
      MString* tmp = new MString( "    <SUPER>%1</SUPER>\n" );
      *tmp = tmp->arg( *(yyvsp[-3]._str) + "&lt;" + *(yyvsp[-1]._str) + "&gt;" );
      yyval._str = tmp;
    ;
    break;}
case 48:
#line 370 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 49:
#line 374 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 50:
#line 381 "yacc.yy"
{
      yyval._str = yyvsp[-1]._str;
    ;
    break;}
case 51:
#line 385 "yacc.yy"
{
      yyval._str = new MString( *(yyvsp[-2]._str) + *(yyvsp[0]._str) );
    ;
    break;}
case 52:
#line 392 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 53:
#line 396 "yacc.yy"
{
      yyval._str = new MString( "" );
    ;
    break;}
case 54:
#line 403 "yacc.yy"
{
    ;
    break;}
case 56:
#line 410 "yacc.yy"
{
      yyval._str = new MString( "" );
    ;
    break;}
case 57:
#line 414 "yacc.yy"
{
      yyval._str = new MString( *(yyvsp[-1]._str) + *(yyvsp[0]._str) );
    ;
    break;}
case 58:
#line 418 "yacc.yy"
{
      yyval._str = new MString( *(yyvsp[-1]._str) + *(yyvsp[0]._str) );
    ;
    break;}
case 59:
#line 422 "yacc.yy"
{
      yyval._str = new MString( *(yyvsp[-1]._str) + *(yyvsp[0]._str) );
    ;
    break;}
case 60:
#line 426 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 61:
#line 430 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 62:
#line 434 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 63:
#line 438 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 64:
#line 442 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 65:
#line 446 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 66:
#line 450 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 67:
#line 454 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 68:
#line 458 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 69:
#line 462 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 70:
#line 466 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 71:
#line 470 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 72:
#line 474 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 73:
#line 478 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 74:
#line 482 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 75:
#line 486 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 82:
#line 504 "yacc.yy"
{;
    break;}
case 83:
#line 505 "yacc.yy"
{;
    break;}
case 84:
#line 509 "yacc.yy"
{;
    break;}
case 85:
#line 510 "yacc.yy"
{;
    break;}
case 86:
#line 511 "yacc.yy"
{;
    break;}
case 87:
#line 512 "yacc.yy"
{;
    break;}
case 88:
#line 513 "yacc.yy"
{;
    break;}
case 89:
#line 517 "yacc.yy"
{;
    break;}
case 90:
#line 518 "yacc.yy"
{;
    break;}
case 91:
#line 519 "yacc.yy"
{;
    break;}
case 92:
#line 524 "yacc.yy"
{
      if (mocking_area)
      {
        MString* tmp = new MString("<TYPEDEF name=\"%1\" template=\"%2\">%3</TYPEDEF>\n");
        *tmp = tmp->arg( *(yyvsp[-1]._str) ).arg( *(yyvsp[-5]._str) ).arg( *(yyvsp[-3]._str) );
        yyval._str = tmp;
      } else
      {
        yyval._str = new MString("");
      }
    ;
    break;}
case 93:
#line 536 "yacc.yy"
{
      if (mocking_area)
        yyerror("scoped template typedefs are not supported in mock methods!");
    ;
    break;}
case 94:
#line 544 "yacc.yy"
{
        yyval._str = new MString("");
    ;
    break;}
case 95:
#line 548 "yacc.yy"
{
        yyval._str = new MString("/* todo */");
    ;
    break;}
case 96:
#line 555 "yacc.yy"
{
      yyval._int = 0;
    ;
    break;}
case 97:
#line 559 "yacc.yy"
{
      yyval._int = 1;
    ;
    break;}
case 98:
#line 565 "yacc.yy"
{ yyval._str = new MString("signed int"); ;
    break;}
case 99:
#line 566 "yacc.yy"
{ yyval._str = new MString("signed int"); ;
    break;}
case 100:
#line 567 "yacc.yy"
{ yyval._str = new MString("unsigned int"); ;
    break;}
case 101:
#line 568 "yacc.yy"
{ yyval._str = new MString("unsigned int"); ;
    break;}
case 102:
#line 569 "yacc.yy"
{ yyval._str = new MString("signed short int"); ;
    break;}
case 103:
#line 570 "yacc.yy"
{ yyval._str = new MString("signed short int"); ;
    break;}
case 104:
#line 571 "yacc.yy"
{ yyval._str = new MString("signed long int"); ;
    break;}
case 105:
#line 572 "yacc.yy"
{ yyval._str = new MString("signed long int"); ;
    break;}
case 106:
#line 573 "yacc.yy"
{ yyval._str = new MString("unsigned short int"); ;
    break;}
case 107:
#line 574 "yacc.yy"
{ yyval._str = new MString("unsigned short int"); ;
    break;}
case 108:
#line 575 "yacc.yy"
{ yyval._str = new MString("unsigned long int"); ;
    break;}
case 109:
#line 576 "yacc.yy"
{ yyval._str = new MString("unsigned long int"); ;
    break;}
case 110:
#line 577 "yacc.yy"
{ yyval._str = new MString("int"); ;
    break;}
case 111:
#line 578 "yacc.yy"
{ yyval._str = new MString("long int"); ;
    break;}
case 112:
#line 579 "yacc.yy"
{ yyval._str = new MString("long int"); ;
    break;}
case 113:
#line 580 "yacc.yy"
{ yyval._str = new MString("short int"); ;
    break;}
case 114:
#line 581 "yacc.yy"
{ yyval._str = new MString("short int"); ;
    break;}
case 115:
#line 582 "yacc.yy"
{ yyval._str = new MString("char"); ;
    break;}
case 116:
#line 583 "yacc.yy"
{ yyval._str = new MString("signed char"); ;
    break;}
case 117:
#line 584 "yacc.yy"
{ yyval._str = new MString("unsigned char"); ;
    break;}
case 118:
#line 589 "yacc.yy"
{
      yyval._str = new MString( MString("*") + *(yyvsp[0]._str) );
    ;
    break;}
case 119:
#line 593 "yacc.yy"
{
      yyval._str = new MString("*");
    ;
    break;}
case 120:
#line 600 "yacc.yy"
{
    ;
    break;}
case 121:
#line 603 "yacc.yy"
{
      yyval._str = new MString( *(yyvsp[-2]._str) );
    ;
    break;}
case 122:
#line 610 "yacc.yy"
{
      yyval._str = new MString( "" );
    ;
    break;}
case 124:
#line 615 "yacc.yy"
{
      yyval._str = new MString( *(yyvsp[-2]._str) + *(yyvsp[0]._str) );
    ;
    break;}
case 126:
#line 623 "yacc.yy"
{ yyval._str = yyvsp[0]._str; ;
    break;}
case 127:
#line 624 "yacc.yy"
{ yyval._str = yyvsp[0]._str; ;
    break;}
case 128:
#line 625 "yacc.yy"
{ yyval._str = yyvsp[0]._str; ;
    break;}
case 129:
#line 627 "yacc.yy"
{
      MString *tmp = new MString("%1&lt;%2&gt;");
      *tmp = tmp->arg(*(yyvsp[-3]._str));
      *tmp = tmp->arg(*(yyvsp[-1]._str));
      yyval._str = tmp;
    ;
    break;}
case 130:
#line 634 "yacc.yy"
{
      MString *tmp = new MString("%1&lt;%2&gt;::%3");
      *tmp = tmp->arg(*(yyvsp[-5]._str));
      *tmp = tmp->arg(*(yyvsp[-3]._str));
      *tmp = tmp->arg(*(yyvsp[0]._str));
      yyval._str = tmp;
    ;
    break;}
case 131:
#line 646 "yacc.yy"
{
      yyval._str = new MString(*(yyvsp[-2]._str) + "," + *(yyvsp[0]._str));
    ;
    break;}
case 132:
#line 650 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 133:
#line 658 "yacc.yy"
{
      if (mocking_area)
        yyerror("in mock methods are no pointers allowed");
    ;
    break;}
case 134:
#line 663 "yacc.yy"
{
      yyval._str = yyvsp[0]._str;
    ;
    break;}
case 135:
#line 672 "yacc.yy"
{
         if (mocking_area)
         {
            MString* tmp = new MString("<TYPE  qleft=\"const\" qright=\"%2\">%1</TYPE>");
            *tmp = tmp->arg( *(yyvsp[-1]._str) );
            *tmp = tmp->arg( *(yyvsp[0]._str) );
            yyval._str = tmp;
         }
      ;
    break;}
case 136:
#line 682 "yacc.yy"
{
         if (mocking_area)
         {
            MString* tmp = new MString("<TYPE  qleft=\"const\" qright=\"" AMP_ENTITY "\">%1</TYPE>");
            *tmp = tmp->arg( *(yyvsp[-1]._str) );
            yyval._str = tmp;
         }
      ;
    break;}
case 137:
#line 691 "yacc.yy"
{
        MString* tmp = new MString("<TYPE qleft=\"const\" >%1</TYPE>");
        *tmp = tmp->arg( *(yyvsp[0]._str) );
        yyval._str = tmp;
      ;
    break;}
case 138:
#line 697 "yacc.yy"
{
        MString* tmp = new MString("<TYPE qleft=\"const\">%1</TYPE>");
        *tmp = tmp->arg( *(yyvsp[-1]._str) );
        yyval._str = tmp;
      ;
    break;}
case 139:
#line 703 "yacc.yy"
{
        if (mocking_area)
        {
           MString* tmp = new MString("<TYPE qleft=\"const\" qright=\"" AMP_ENTITY "\">%1</TYPE>");
           *tmp = tmp->arg( *(yyvsp[-2]._str) );
           yyval._str = tmp;
        }
      ;
    break;}
case 140:
#line 712 "yacc.yy"
{
        if (mocking_area)
        {
           MString* tmp = new MString("<TYPE qright=\"" AMP_ENTITY "\">%1</TYPE>");
           *tmp = tmp->arg( *(yyvsp[-1]._str) );
           yyval._str = tmp;
        }
      ;
    break;}
case 141:
#line 721 "yacc.yy"
{
        MString* tmp = new MString("<TYPE>%1</TYPE>");
        *tmp = tmp->arg( *(yyvsp[0]._str) );
        yyval._str = tmp;
      ;
    break;}
case 142:
#line 727 "yacc.yy"
{
        if (mocking_area)
        {
           MString* tmp = new MString("<TYPE qright=\"%2 const\">%1</TYPE>");
           *tmp = tmp->arg( *(yyvsp[-2]._str) );
           *tmp = tmp->arg( *(yyvsp[-1]._str) );
           yyval._str = tmp;
        }
      ;
    break;}
case 143:
#line 737 "yacc.yy"
{
        if (mocking_area)
        {
           MString* tmp = new MString("<TYPE qright=\"%2\">%1</TYPE>");
           *tmp = tmp->arg( *(yyvsp[-1]._str) );
           *tmp = tmp->arg( *(yyvsp[0]._str) );
           yyval._str = tmp;
        }
      ;
    break;}
case 144:
#line 750 "yacc.yy"
{
      yyval._str = new MString(*(yyvsp[-2]._str) + "," + *(yyvsp[0]._str));
    ;
    break;}
case 145:
#line 754 "yacc.yy"
{
       yyval._str = yyvsp[0]._str;
    ;
    break;}
case 146:
#line 761 "yacc.yy"
{
      if (mocking_area)
      {
        MString* tmp = new MString("\n        <ARG>%1<NAME>%2</NAME></ARG>");
        *tmp = tmp->arg( *(yyvsp[-2]._str) );
        *tmp = tmp->arg( *(yyvsp[-1]._str) );
        yyval._str = tmp;
      }
      else
        yyval._str = new MString();
    ;
    break;}
case 147:
#line 773 "yacc.yy"
{
      if (mocking_area)
      {
         MString* tmp = new MString("\n        <ARG>%1</ARG>");
         *tmp = tmp->arg( *(yyvsp[-1]._str) );
         yyval._str = tmp;
      }
      else
        yyval._str = new MString();
    ;
    break;}
case 148:
#line 784 "yacc.yy"
{
      if (mocking_area)
        yyerror("variable arguments not supported in mock methods.");
      yyval._str = new MString("");
    ;
    break;}
case 149:
#line 793 "yacc.yy"
{
    ;
    break;}
case 150:
#line 796 "yacc.yy"
{
    ;
    break;}
case 151:
#line 799 "yacc.yy"
{
    ;
    break;}
case 152:
#line 806 "yacc.yy"
{
    ;
    break;}
case 153:
#line 809 "yacc.yy"
{
    ;
    break;}
case 154:
#line 812 "yacc.yy"
{
    ;
    break;}
case 155:
#line 815 "yacc.yy"
{
    ;
    break;}
case 156:
#line 818 "yacc.yy"
{
    ;
    break;}
case 157:
#line 823 "yacc.yy"
{ yyval._int = 0;  ;
    break;}
case 158:
#line 824 "yacc.yy"
{ yyval._int = 1; ;
    break;}
case 164:
#line 833 "yacc.yy"
{
      if (mocking_area)
      {
        MString* tmp = 0;
        tmp = new MString(
                "    <%4>\n"
                "        %2\n"
                "        <NAME>%1</NAME>"
                "%3\n"
                "    </%5>\n");
        *tmp = tmp->arg( *(yyvsp[-5]._str) );
        *tmp = tmp->arg( *(yyvsp[-6]._str) );
        *tmp = tmp->arg( *(yyvsp[-3]._str) );

        MString tagname = "METHOD";

        MString attr = (yyvsp[-1]._int) ? " qual=\"const\"" : "";
        MString thrower (*(yyvsp[0]._str));
        if (thrower.length() != 0)
          attr += MString(" throw='%1'").arg(thrower);
        *tmp = tmp->arg( MString("%1%2").arg(tagname).arg(attr) );
        *tmp = tmp->arg( MString("%1").arg(tagname) );
        yyval._str = tmp;
      }
      else
        yyval._str = new MString("");
    ;
    break;}
case 165:
#line 861 "yacc.yy"
{
      if (mocking_area)
      {
        MString* tmp = 0;
        tmp = new MString(
                "    <%4>\n"
                "        %2\n"
                "        <NAME>%1</NAME>"
                "%3\n"
                "    </%5>\n");
        *tmp = tmp->arg( *(yyvsp[-5]._str) );
        *tmp = tmp->arg( *(yyvsp[-6]._str) );
        *tmp = tmp->arg( *(yyvsp[-3]._str) );

        MString tagname = "METHOD";
        MString attr = (yyvsp[-1]._int) ? " qual=\"const\"" : "";
        MString thrower (*(yyvsp[0]._str));
        if (thrower.length() != 0)
          attr += MString(" throw='%1'").arg(thrower);
        attr += " virtual='1'";
        *tmp = tmp->arg( MString("%1%2").arg(tagname).arg(attr) );
        *tmp = tmp->arg( MString("%1").arg(tagname) );
        yyval._str = tmp;
      }
      else
        yyval._str = new MString("");
    ;
    break;}
case 166:
#line 889 "yacc.yy"
{
      if (mocking_area)
      {
        MString* tmp = 0;
        tmp = new MString(
                "    <%4>\n"
                "        %2\n"
                "        <NAME>%1</NAME>"
                "%3\n"
                "    </%5>\n");
        *tmp = tmp->arg( *(yyvsp[-7]._str) );
        *tmp = tmp->arg( *(yyvsp[-8]._str) );
        *tmp = tmp->arg( *(yyvsp[-5]._str) );

        MString tagname = "METHOD";

        MString attr = (yyvsp[-3]._int) ? " qual=\"const\"" : "";
        attr += " virtual='1' pure='1'";
        MString thrower (*(yyvsp[-2]._str));
        if (thrower.length() != 0)
          attr += MString(" throw='%1'").arg(thrower);
        *tmp = tmp->arg( MString("%1%2").arg(tagname).arg(attr) );
        *tmp = tmp->arg( MString("%1").arg(tagname) );
        yyval._str = tmp;
      }
      else
       yyval._str = new MString("");
    ;
    break;}
case 167:
#line 918 "yacc.yy"
{
      if (mocking_area)
        yyerror("operators aren't allowed in mock methods!");
       yyval._str = new MString("");
    ;
    break;}
case 168:
#line 928 "yacc.yy"
{;
    break;}
case 169:
#line 929 "yacc.yy"
{;
    break;}
case 170:
#line 930 "yacc.yy"
{;
    break;}
case 171:
#line 935 "yacc.yy"
{;
    break;}
case 172:
#line 940 "yacc.yy"
{;
    break;}
case 173:
#line 941 "yacc.yy"
{;
    break;}
case 174:
#line 946 "yacc.yy"
{
          yyval._str = yyvsp[-1]._str;
    ;
    break;}
case 175:
#line 960 "yacc.yy"
{
      /* The constructor */
//      assert(!mockpp_methods_area);
      if (mockpp_constructor_area)
      {
        MString* tmp = 0;
        tmp = new MString(
                "    <%4>"
                "%2\n"
                "        <NAME>%1</NAME>\n"
                "    </%3>\n");
        *tmp = tmp->arg( *(yyvsp[-4]._str) );
        if ((yyvsp[-2]._str)->length() != 0)
          *tmp = tmp->arg( *(yyvsp[-2]._str) );
        else
          *tmp = tmp->arg("");

        MString tagname = "CONSTRUCTOR";
        mocking_area = 0;
        mockpp_constructor_area = 0;  // only once

        *tmp = tmp->arg(tagname).arg(tagname);
        yyval._str = tmp;
      }
      else
        yyval._str = new MString("");
    ;
    break;}
case 176:
#line 988 "yacc.yy"
{
      if (mockpp_constructor_area)
      {
        MString* tmp = 0;
        tmp = new MString(
                "    <%4>"
                "%2\n"
                "        <NAME>%1</NAME>\n"
                "    </%3>\n");
        *tmp = tmp->arg( *(yyvsp[-6]._str) );
        if ((yyvsp[-4]._str)->length() != 0)
          *tmp = tmp->arg( *(yyvsp[-4]._str));
        else
          *tmp = tmp->arg("");


        MString tagname = "CONSTRUCTOR";
        mocking_area = 0;
        mockpp_constructor_area = 0;  // only once

        *tmp = tmp->arg(tagname).arg(tagname);
        yyval._str = tmp;
      }
      else
        yyval._str = new MString("");
    ;
    break;}
case 177:
#line 1015 "yacc.yy"
{
        /* The destructor */
//        assert(!mockpp_methods_area);
//        assert(!mockpp_constructor_area);
        yyval._str = new MString("");
    ;
    break;}
case 178:
#line 1022 "yacc.yy"
{
      if (mocking_area)
         yyerror("mock methods cannot be static");

      else
      {
         yyval._str = new MString();
      }
    ;
    break;}
case 179:
#line 1034 "yacc.yy"
{
    function_mode = 1;
  ;
    break;}
case 183:
#line 1046 "yacc.yy"
{;
    break;}
case 185:
#line 1048 "yacc.yy"
{;
    break;}
case 189:
#line 1060 "yacc.yy"
{;
    break;}
case 190:
#line 1061 "yacc.yy"
{;
    break;}
case 191:
#line 1062 "yacc.yy"
{;
    break;}
case 192:
#line 1065 "yacc.yy"
{;
    break;}
case 193:
#line 1069 "yacc.yy"
{;
    break;}
case 194:
#line 1070 "yacc.yy"
{;
    break;}
case 195:
#line 1071 "yacc.yy"
{;
    break;}
case 196:
#line 1072 "yacc.yy"
{;
    break;}
case 197:
#line 1073 "yacc.yy"
{;
    break;}
case 198:
#line 1074 "yacc.yy"
{;
    break;}
}

#line 839 "/usr/share/bison++/bison.cc"
   /* the action file gets copied in in place of this dollarsign  */
  yyvsp -= yylen;
  yyssp -= yylen;
#ifdef YY_parse_LSP_NEEDED
  yylsp -= yylen;
#endif

#if YY_parse_DEBUG != 0
  if (YY_parse_DEBUG_FLAG)
    {
      short *ssp1 = yyss - 1;
      fprintf (stderr, "state stack now");
      while (ssp1 != yyssp)
	fprintf (stderr, " %d", *++ssp1);
      fprintf (stderr, "\n");
    }
#endif

  *++yyvsp = yyval;

#ifdef YY_parse_LSP_NEEDED
  yylsp++;
  if (yylen == 0)
    {
      yylsp->first_line = YY_parse_LLOC.first_line;
      yylsp->first_column = YY_parse_LLOC.first_column;
      yylsp->last_line = (yylsp-1)->last_line;
      yylsp->last_column = (yylsp-1)->last_column;
      yylsp->text = 0;
    }
  else
    {
      yylsp->last_line = (yylsp+yylen-1)->last_line;
      yylsp->last_column = (yylsp+yylen-1)->last_column;
    }
#endif

  /* Now "shift" the result of the reduction.
     Determine what state that goes to,
     based on the state we popped back to
     and the rule number reduced by.  */

  yyn = yyr1[yyn];

  yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
  if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
    yystate = yytable[yystate];
  else
    yystate = yydefgoto[yyn - YYNTBASE];

  YYGOTO(yynewstate);

YYLABEL(yyerrlab)   /* here on detecting error */

  if (! yyerrstatus)
    /* If not already recovering from an error, report this error.  */
    {
      ++YY_parse_NERRS;

#ifdef YY_parse_ERROR_VERBOSE
      yyn = yypact[yystate];

      if (yyn > YYFLAG && yyn < YYLAST)
	{
	  int size = 0;
	  char *msg;
	  int x, count;

	  count = 0;
	  /* Start X at -yyn if nec to avoid negative indexes in yycheck.  */
	  for (x = (yyn < 0 ? -yyn : 0);
	       x < (sizeof(yytname) / sizeof(char *)); x++)
	    if (yycheck[x + yyn] == x)
	      size += strlen(yytname[x]) + 15, count++;
	  msg = (char *) malloc(size + 15);
	  if (msg != 0)
	    {
	      strcpy(msg, "parse error");

	      if (count < 5)
		{
		  count = 0;
		  for (x = (yyn < 0 ? -yyn : 0);
		       x < (sizeof(yytname) / sizeof(char *)); x++)
		    if (yycheck[x + yyn] == x)
		      {
			strcat(msg, count == 0 ? ", expecting `" : " or `");
			strcat(msg, yytname[x]);
			strcat(msg, "'");
			count++;
		      }
		}
	      YY_parse_ERROR(msg);
	      free(msg);
	    }
	  else
	    YY_parse_ERROR ("parse error; also virtual memory exceeded");
	}
      else
#endif /* YY_parse_ERROR_VERBOSE */
	YY_parse_ERROR("parse error");
    }

  YYGOTO(yyerrlab1);
YYLABEL(yyerrlab1)   /* here on error raised explicitly by an action */

  if (yyerrstatus == 3)
    {
      /* if just tried and failed to reuse lookahead token after an error, discard it.  */

      /* return failure if at end of input */
      if (YY_parse_CHAR == YYEOF)
	YYABORT;

#if YY_parse_DEBUG != 0
      if (YY_parse_DEBUG_FLAG)
	fprintf(stderr, "Discarding token %d (%s).\n", YY_parse_CHAR, yytname[yychar1]);
#endif

      YY_parse_CHAR = YYEMPTY;
    }

  /* Else will try to reuse lookahead token
     after shifting the error token.  */

  yyerrstatus = 3;              /* Each real token shifted decrements this */

  YYGOTO(yyerrhandle);

YYLABEL(yyerrdefault)  /* current state does not do anything special for the error token. */

#if 0
  /* This is wrong; only states that explicitly want error tokens
     should shift them.  */
  yyn = yydefact[yystate];  /* If its default is to accept any token, ok.  Otherwise pop it.*/
  if (yyn) YYGOTO(yydefault);
#endif

YYLABEL(yyerrpop)   /* pop the current state because it cannot handle the error token */

  if (yyssp == yyss) YYABORT;
  yyvsp--;
  yystate = *--yyssp;
#ifdef YY_parse_LSP_NEEDED
  yylsp--;
#endif

#if YY_parse_DEBUG != 0
  if (YY_parse_DEBUG_FLAG)
    {
      short *ssp1 = yyss - 1;
      fprintf (stderr, "Error: state stack now");
      while (ssp1 != yyssp)
	fprintf (stderr, " %d", *++ssp1);
      fprintf (stderr, "\n");
    }
#endif

YYLABEL(yyerrhandle)

  yyn = yypact[yystate];
  if (yyn == YYFLAG)
    YYGOTO(yyerrdefault);

  yyn += YYTERROR;
  if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
    YYGOTO(yyerrdefault);

  yyn = yytable[yyn];
  if (yyn < 0)
    {
      if (yyn == YYFLAG)
	YYGOTO(yyerrpop);
      yyn = -yyn;
      YYGOTO(yyreduce);
    }
  else if (yyn == 0)
    YYGOTO(yyerrpop);

  if (yyn == YYFINAL)
    YYACCEPT;

#if YY_parse_DEBUG != 0
  if (YY_parse_DEBUG_FLAG)
    fprintf(stderr, "Shifting error token, ");
#endif

  *++yyvsp = YY_parse_LVAL;
#ifdef YY_parse_LSP_NEEDED
  *++yylsp = YY_parse_LLOC;
#endif

  yystate = yyn;
  YYGOTO(yynewstate);
/* end loop, in which YYGOTO may be used. */
  YYENDGOTO
}

/* END */

 #line 1038 "/usr/share/bison++/bison.cc"
#line 1077 "yacc.yy"


void dcopidlParse( const char *_code )
{
    mocking_area = 0;
    mockpp_methods_area = 0;
    mockpp_constructor_area = 0;
    dcopidlInitFlex( _code );
    yyparse();
}
